@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(capture); String actualResult = capture.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
Capture extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
Capture extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Capture(); private  Capture(Builder builder); }
Capture extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Capture(); private  Capture(Builder builder); Date getCreated(); void setCreated(Date created); BigDecimal getAmount(); void setAmount(BigDecimal amount); PaymentContext getContext(); void setContext(PaymentContext context); String getDescription(); void setDescription(String description); @Override String toString(); }
Capture extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Capture(); private  Capture(Builder builder); Date getCreated(); void setCreated(Date created); BigDecimal getAmount(); void setAmount(BigDecimal amount); PaymentContext getContext(); void setContext(PaymentContext context); String getDescription(); void setDescription(String description); @Override String toString();  }