@Test public void testToStringFormat() throws Exception { final Roles roles = readObjectFromResource("/project/project-roles.json", Roles.class); assertThat(roles.toString(), matchesPattern(Roles.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
Roles { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
Roles { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Roles(@JsonProperty("roles") final Set<String> roles); }
Roles { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Roles(@JsonProperty("roles") final Set<String> roles); Set<String> getRoles(); @Override String toString(); }
Roles { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  Roles(@JsonProperty("roles") final Set<String> roles); Set<String> getRoles(); @Override String toString(); static final String URI; }