@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(lodging); String actualResult = lodging.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
Lodging extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
Lodging extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Lodging(); private  Lodging(Builder builder); }
Lodging extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Lodging(); private  Lodging(Builder builder); String getFolioID(); void setFolioID(String folioID); String getChargeType(); void setChargeType(String chargeType); Date getCheckInDate(); void setCheckInDate(Date checkInDate); Date getCheckOutDate(); void setCheckOutDate(Date checkOutDate); String getLengthOfStay(); void setLengthOfStay(String lengthOfStay); BigDecimal getRoomRate(); void setRoomRate(BigDecimal roomRate); String[] getExtraCharges(); void setExtraCharges(String[] extraCharges); String getSpecialProgram(); void setSpecialProgram(String specialProgram); BigDecimal getTotalAuthAmount(); void setTotalAuthAmount(BigDecimal totalAuthAmount); @Override String toString(); }
Lodging extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Lodging(); private  Lodging(Builder builder); String getFolioID(); void setFolioID(String folioID); String getChargeType(); void setChargeType(String chargeType); Date getCheckInDate(); void setCheckInDate(Date checkInDate); Date getCheckOutDate(); void setCheckOutDate(Date checkOutDate); String getLengthOfStay(); void setLengthOfStay(String lengthOfStay); BigDecimal getRoomRate(); void setRoomRate(BigDecimal roomRate); String[] getExtraCharges(); void setExtraCharges(String[] extraCharges); String getSpecialProgram(); void setSpecialProgram(String specialProgram); BigDecimal getTotalAuthAmount(); void setTotalAuthAmount(BigDecimal totalAuthAmount); @Override String toString();  }