@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() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
PartialMdArtifact { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
PartialMdArtifact { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  PartialMdArtifact(@JsonProperty("status") UriResponse status, @JsonProperty("token") String token); }
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(); }
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();  }