### Question:
Integration { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Integration(final String projectTemplate); @JsonCreator  Integration(@JsonProperty("projectTemplate") String projectTemplate, @JsonProperty("active") boolean active,
                @JsonProperty("lastFinishedProcess") IntegrationProcessStatus lastFinishedProcess,
                @JsonProperty("lastSuccessfulProcess") IntegrationProcessStatus lastSuccessfulProcess,
                @JsonProperty("runningProcess") IntegrationProcessStatus runningProcess); String getProjectTemplate(); void setProjectTemplate(final String projectTemplate); boolean isActive(); void setActive(final boolean active); @JsonIgnore IntegrationProcessStatus getLastFinishedProcess(); @JsonIgnore IntegrationProcessStatus getLastSuccessfulProcess(); @JsonIgnore IntegrationProcessStatus getRunningProcess(); @Override String toString(); static final String URL; }### Answer:
@Test public void testToStringFormat() { final Integration integration = new Integration("template"); assertThat(integration.toString(), matchesPattern(Integration.class.getSimpleName() + "\\[.*\\]")); }