### Question:
WarehouseSchema { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  WarehouseSchema(@JsonProperty("name") final String name,
                            @JsonProperty("description") final String description,
                            @JsonProperty("links") final Map<String, String> links); String getName(); String getDescription(); Map<String, String> getLinks(); @JsonIgnore String getUri(); @JsonIgnore String getInstanceUri(); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() throws Exception { final WarehouseSchema warehouseSchema = readObjectFromResource("/warehouse/schema.json", WarehouseSchema.class); assertThat(warehouseSchema.toString(), matchesPattern(WarehouseSchema.class.getSimpleName() + "\\[.*\\]")); }