@Test public void getUsername_Returns_username() { final String expected = username; final String actual = user.getUsername(); Assert.assertEquals(actual, expected); }
public String getUsername() { return this.username; }
User { public String getUsername() { return this.username; } }
User { public String getUsername() { return this.username; } User();  User(int id, String username, String email, String password);  User(int id); }
User { public String getUsername() { return this.username; } User();  User(int id, String username, String email, String password);  User(int id); int getID(); float getRating(); String getUsername(); String getEmail(); String getPassword(); String getPasswordConfirm(); String getPasswordUpdate(); void setRating(float rating); void setUsername(String username); void setPassword(String password); void setEmail(String email); void setPasswordConfirm(String passwordConfirm); void setPasswordUpdate(String passwordUpdate); }
User { public String getUsername() { return this.username; } User();  User(int id, String username, String email, String password);  User(int id); int getID(); float getRating(); String getUsername(); String getEmail(); String getPassword(); String getPasswordConfirm(); String getPasswordUpdate(); void setRating(float rating); void setUsername(String username); void setPassword(String password); void setEmail(String email); void setPasswordConfirm(String passwordConfirm); void setPasswordUpdate(String passwordUpdate);  }