@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(bankAccount); String actualResult = bankAccount.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
BankAccount extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
BankAccount extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } BankAccount(); private  BankAccount(Builder builder); }
BankAccount extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } BankAccount(); private  BankAccount(Builder builder); String getId(); void setId(String id); Date getCreated(); void setCreated(Date created); Date getUpdated(); void setUpdated(Date updated); String getName(); void setName(String name); String getRoutingNumber(); void setRoutingNumber(String routingNumber); String getAccountNumber(); void setAccountNumber(String accountNumber); AccountType getAccountType(); void setAccountType(AccountType accountType); String getPhone(); void setPhone(String phone); String getCountry(); void setCountry(String country); BankAccountInputTypeEnum getInputType(); void setInputType(BankAccountInputTypeEnum inputType); String getBankCode(); void setBankCode(String bankCode); Boolean getDefaultValue(); void setDefaultValue(Boolean defaultValue); String getEntityId(); void setEntityId(String entityId); String getEntityType(); void setEntityType(String entityType); String getEntityVersion(); void setEntityVersion(String entityVersion); @Override String toString(); }
BankAccount extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } BankAccount(); private  BankAccount(Builder builder); String getId(); void setId(String id); Date getCreated(); void setCreated(Date created); Date getUpdated(); void setUpdated(Date updated); String getName(); void setName(String name); String getRoutingNumber(); void setRoutingNumber(String routingNumber); String getAccountNumber(); void setAccountNumber(String accountNumber); AccountType getAccountType(); void setAccountType(AccountType accountType); String getPhone(); void setPhone(String phone); String getCountry(); void setCountry(String country); BankAccountInputTypeEnum getInputType(); void setInputType(BankAccountInputTypeEnum inputType); String getBankCode(); void setBankCode(String bankCode); Boolean getDefaultValue(); void setDefaultValue(Boolean defaultValue); String getEntityId(); void setEntityId(String entityId); String getEntityType(); void setEntityType(String entityType); String getEntityVersion(); void setEntityVersion(String entityVersion); @Override String toString();  }