### Question:
PartialMdArtifact { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  PartialMdArtifact(@JsonProperty("status") UriResponse status, @JsonProperty("token") String token); @JsonIgnore String getStatusUri(); String getToken(); @Override String toString();  }### Answer:
@Test public void testToStringFormat() { final PartialMdArtifact partialMdArtifact = new PartialMdArtifact(new UriResponse("/gdc/md/projectId/tasks/taskId/status"), "TOKEN123"); assertThat(partialMdArtifact.toString(), matchesPattern(PartialMdArtifact.class.getSimpleName() + "\\[.*\\]")); }