### Question:
User { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  User(@JsonProperty("content") final UserContent content,
         @JsonProperty("links") final Links links);  User(final Account account,
                final Role... userRoles); @JsonIgnore String getEmail(); @JsonIgnore String getStatus(); @JsonIgnore String getLastName(); @JsonIgnore List<String> getUserRoles(); @JsonIgnore String getLogin(); @JsonIgnore String getFirstName(); @JsonIgnore String getPhoneNumber(); Links getLinks(); void setStatus(final String status); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() throws Exception { final User user = readObjectFromResource("/project/project-user.json", User.class); assertThat(user.toString(), matchesPattern(User.class.getSimpleName() + "\\[.*\\]")); }