@Test public void testToStringFormat() throws Exception { final AttributeElement element = readObjectFromResource("/md/attributeElement.json", AttributeElement.class); assertThat(element.toString(), matchesPattern(AttributeElement.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
AttributeElement { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
AttributeElement { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  AttributeElement(@JsonProperty("uri") String uri, @JsonProperty("title") String title); }
AttributeElement { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  AttributeElement(@JsonProperty("uri") String uri, @JsonProperty("title") String title); String getUri(); String getTitle(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
AttributeElement { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  AttributeElement(@JsonProperty("uri") String uri, @JsonProperty("title") String title); String getUri(); String getTitle(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }