@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(address); String actualResult = address.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
Address extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
Address extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Address(); private  Address(Builder builder); }
Address extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Address(); private  Address(Builder builder); String getStreetAddress(); void setStreetAddress(String streetAddress); String getCity(); void setCity(String city); String getRegion(); void setRegion(String region); String getCountry(); void setCountry(String country); String getPostalCode(); void setPostalCode(String postalCode); @Override String toString(); }
Address extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Address(); private  Address(Builder builder); String getStreetAddress(); void setStreetAddress(String streetAddress); String getCity(); void setCity(String city); String getRegion(); void setRegion(String region); String getCountry(); void setCountry(String country); String getPostalCode(); void setPostalCode(String postalCode); @Override String toString();  }