@Test public void testToStringFormat() throws Exception { TaskState taskState = readObjectFromResource("/dataset/taskStateOK.json", TaskState.class); assertThat(taskState.toString(), matchesPattern(TaskState.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
TaskState { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
TaskState { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  TaskState(@JsonProperty("status") final String status, @JsonProperty("msg") final String message); }
TaskState { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  TaskState(@JsonProperty("status") final String status, @JsonProperty("msg") final String message); String getMessage(); String getStatus(); boolean isSuccess(); boolean isFinished(); @Override String toString(); }
TaskState { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator  TaskState(@JsonProperty("status") final String status, @JsonProperty("msg") final String message); String getMessage(); String getStatus(); boolean isSuccess(); boolean isFinished(); @Override String toString();  }