### Question:
AttributeSort implements Serializable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } AttributeSort(String value);   AttributeSort(String value, boolean linkType); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final AttributeSort attributeSort = new AttributeSort("/gdc/md/PROJECT_ID/obj/1806", true); assertThat(attributeSort.toString(), matchesPattern(AttributeSort.class.getSimpleName() + "\\[.*\\]")); }