### Question:
ProjectEvent { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } ProjectEvent(final String type);  ProjectEvent(final String type, final Map<String, String> parameters); void setParameter(final String key, final String value); @JsonProperty("type") String getType(); @JsonProperty("parameters") Map<String, String> getParameters(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() { final ProjectEvent projectEvent = new ProjectEvent("etl.test"); assertThat(projectEvent.toString(), matchesPattern(ProjectEvent.class.getSimpleName() + "\\[.*\\]")); }