### Question:
Pull { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Pull(String remoteDir); String getRemoteDir(); @Override String toString(); static final String URI; }### Answer:
@Test public void testToStringFormat() { final Pull pull = new Pull("DIR"); assertThat(pull.toString(), matchesPattern(Pull.class.getSimpleName() + "\\[.*\\]")); }