### Question:
Warehouse { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Warehouse(String title, String authToken);  Warehouse(String title, String authToken, String description);  Warehouse(String title, String authToken, String description, ZonedDateTime created, ZonedDateTime updated,
                     String createdBy, String updatedBy, String status, String environment, String connectionUrl,
                     Map<String, String> links); @JsonCreator  Warehouse(@JsonProperty("title") String title, @JsonProperty("authorizationToken") String authToken,
                     @JsonProperty("description") String description,
                     @JsonProperty("created") ZonedDateTime created,
                     @JsonProperty("updated") ZonedDateTime updated,
                     @JsonProperty("createdBy") String createdBy, @JsonProperty("updatedBy") String updatedBy,
                     @JsonProperty("status") String status, @JsonProperty("environment") String environment,
                     @JsonProperty("connectionUrl") String connectionUrl,
                     @JsonProperty("links") Map<String, String> links,
                     @JsonProperty("license") String license); String getTitle(); String getAuthorizationToken(); String getDescription(); String getConnectionUrl(); void setTitle(String title); void setDescription(String description); ZonedDateTime getCreated(); ZonedDateTime getUpdated(); String getCreatedBy(); String getUpdatedBy(); String getStatus(); String getEnvironment(); void setEnvironment(final String environment); String getLicense(); @JsonIgnore void setEnvironment(final Environment environment); Map<String, String> getLinks(); @JsonIgnore String getUri(); @JsonIgnore String getId(); @JsonIgnore boolean isEnabled(); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() { final Warehouse warehouse = new Warehouse(TITLE, null, DESCRIPTION, CREATED, UPDATED, CREATED_BY, UPDATED_BY, STATUS, ENVIRONMENT, CONNECTION_URL, LINKS); assertThat(warehouse.toString(), matchesPattern(Warehouse.class.getSimpleName() + "\\[.*\\]")); }