### Question:
ProjectValidationResult { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  ProjectValidationResult(@JsonProperty("ecat") String category, @JsonProperty("level") String level,
                                    @JsonProperty("msg") String message, @JsonProperty("pars") List<ProjectValidationResultParam> params); String getCategory(); String getLevel(); String getMessage(); List<ProjectValidationResultParam> getParams(); boolean isError(); ProjectValidationType getValidation(); boolean isWarning(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() throws Exception { final ProjectValidationResult log = readObjectFromResource("/project/project-validationResultLog.json", ProjectValidationResult.class); assertThat(log.toString(), matchesPattern(ProjectValidationResult.class.getSimpleName() + "\\[.*\\]")); }