### Question:
Account { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this, "password", "verifyPassword"); } @JsonCreator private  Account(
            @JsonProperty("login") String login,
            @JsonProperty("email") String email,
            @JsonProperty("password") String password,
            @JsonProperty("verifyPassword") String verifyPassword,
            @JsonProperty("firstName") String firstName,
            @JsonProperty("lastName") String lastName,
            @JsonProperty("ipWhitelist") List<String> ipWhitelist,
            @JsonProperty("links") Links links
    );  Account(String firstName, String lastName, Links links);  Account(String email, String password, String firstName, String lastName); String getLogin(); String getEmail(); String getPassword(); String getVerifyPassword(); String getFirstName(); String getLastName(); @JsonIgnore String getUri(); @JsonIgnore String getProjectsUri(); @JsonIgnore String getId(); List<String> getIpWhitelist(); void setEmail(final String email); void setPassword(final String password); void setVerifyPassword(final String verifyPassword); void setFirstName(final String firstName); void setLastName(final String lastName); void setIpWhitelist(final List<String> ipWhitelist); static String getId(String uri); @Override String toString(); static final String URI; static final String ACCOUNTS_URI; static final String LOGIN_URI; static final String CURRENT_ID; }### Answer:
@Test public void testToStringFormat() { final Account account = new Account(FIRST_NAME, LAST_NAME, null); assertThat(account.toString(), matchesPattern(Account.class.getSimpleName() + "\\[.*\\]")); }