@Test public void getUsername() throws Exception { assertEquals(username, user.getUsername()); }
public String getUsername() { return username; }
User { public String getUsername() { return username; } }
User { public String getUsername() { return username; } User(UUID id, String username); }
User { public String getUsername() { return username; } User(UUID id, String username); UUID getId(); String getUsername(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
User { public String getUsername() { return username; } User(UUID id, String username); UUID getId(); String getUsername(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }