### Question:
OutputStage { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  OutputStage(@JsonProperty("schema") final String schema,
                        @JsonProperty("clientId") final String clientId,
                        @JsonProperty("outputStagePrefix") final String outputStagePrefix,
                        @JsonProperty("links") final Map<String, String> links); Map<String, String> getLinks(); @JsonProperty("schema") String getSchemaUri(); @JsonProperty("schema") void setSchemaUri(final String schemaUri); boolean hasSchemaUri(); String getClientId(); void setClientId(final String clientId); boolean hasClientId(); String getOutputStagePrefix(); void setOutputStagePrefix(final String outputStagePrefix); boolean hasOutputStagePrefix(); @JsonIgnore String getUri(); @JsonIgnore String getOutputStageDiffUri(); @JsonIgnore String getDataloadProcessUri(); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() throws Exception { final OutputStage outputStage = readObjectFromResource("/dataload/outputStage.json", OutputStage.class); assertThat(outputStage.toString(), matchesPattern(OutputStage.class.getSimpleName() + "\\[.*\\]")); }