### Question:
ProjectFeatureFlag { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } ProjectFeatureFlag(String name);  ProjectFeatureFlag(String name, boolean enabled); @JsonCreator  ProjectFeatureFlag(@JsonProperty("key") String name,
                       @JsonProperty("value") boolean enabled,
                       @JsonProperty("links") Links links); @JsonProperty("key") String getName(); @JsonProperty("value") boolean isEnabled(); void setEnabled(boolean enabled); @JsonIgnore String getUri(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String PROJECT_FEATURE_FLAG_URI; }### Answer:
@Test public void testToStringFormat() { final ProjectFeatureFlag flag = new ProjectFeatureFlag("test", false); assertThat(flag.toString(), matchesPattern(ProjectFeatureFlag.class.getSimpleName() + "\\[.*\\]")); }