@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(deviceInfo); String actualResult = deviceInfo.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
DeviceInfo extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
DeviceInfo extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } DeviceInfo(); private  DeviceInfo(Builder builder); }
DeviceInfo extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } DeviceInfo(); private  DeviceInfo(Builder builder); String getId(); void setId(String id); String getType(); void setType(String type); String getLongitude(); void setLongitude(String longitude); String getLatitude(); void setLatitude(String latitude); String getPhoneNumber(); void setPhoneNumber(String phoneNumber); String getMacAddress(); void setMacAddress(String macAddress); String getIpAddress(); void setIpAddress(String ipAddress); Boolean getEncrypted(); void setEncrypted(Boolean encrypted); @Override String toString(); }
DeviceInfo extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } DeviceInfo(); private  DeviceInfo(Builder builder); String getId(); void setId(String id); String getType(); void setType(String type); String getLongitude(); void setLongitude(String longitude); String getLatitude(); void setLatitude(String latitude); String getPhoneNumber(); void setPhoneNumber(String phoneNumber); String getMacAddress(); void setMacAddress(String macAddress); String getIpAddress(); void setIpAddress(String ipAddress); Boolean getEncrypted(); void setEncrypted(Boolean encrypted); @Override String toString();  }