### Question:
FeatureFlags implements Iterable<FeatureFlag> { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }  @JsonAnySetter void addFlag(final String name, final boolean enabled); void removeFlag(final String flagName); @Override Iterator<FeatureFlag> iterator(); boolean isEnabled(final String flagName); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final String AGGREGATED_FEATURE_FLAGS_URI; }### Answer:
@Test public void testToStringFormat() { final FeatureFlags flags = new FeatureFlags(); assertThat(flags.toString(), matchesPattern(FeatureFlags.class.getSimpleName() + "\\[.*\\]")); }