@Test public void testUser() { String login = "carl"; String password = "mypassword"; String email = "mail@gmail.com"; User user = User.builder().login(login).password(password).email(email).build(); assertEquals(login, user.getLogin()); assertEquals(email, user.getEmail()); }
public User(final String login, final String password) { this.login = login; this.password = password; }
User implements Serializable { public User(final String login, final String password) { this.login = login; this.password = password; } }
User implements Serializable { public User(final String login, final String password) { this.login = login; this.password = password; } User(final String login, final String password); }
User implements Serializable { public User(final String login, final String password) { this.login = login; this.password = password; } User(final String login, final String password); final void setLocale(final String locale); final Date getLastUpdate(); final void setLastUpdate(final Date lastUpdate); final void setDatePattern(final String datePattern); final String getLanguage(); final String getCountry(); final JsonObject getJSONObject(); }
User implements Serializable { public User(final String login, final String password) { this.login = login; this.password = password; } User(final String login, final String password); final void setLocale(final String locale); final Date getLastUpdate(); final void setLastUpdate(final Date lastUpdate); final void setDatePattern(final String datePattern); final String getLanguage(); final String getCountry(); final JsonObject getJSONObject();  }