@Test public void testToStringFormat() throws Exception { final UploadsInfo uploadsInfo = readObjectFromResource("/dataset/uploads/data-sets.json", UploadsInfo.class); assertThat(uploadsInfo.toString(), matchesPattern(UploadsInfo.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
UploadsInfo { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
UploadsInfo { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } UploadsInfo(@JsonProperty("sets") Collection<DataSet> datasets); }
UploadsInfo { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } UploadsInfo(@JsonProperty("sets") Collection<DataSet> datasets); DataSet getDataSet(String datasetId); @Override String toString(); }
UploadsInfo { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } UploadsInfo(@JsonProperty("sets") Collection<DataSet> datasets); DataSet getDataSet(String datasetId); @Override String toString(); static final String URI; }