### Question:
SQLTimestampAccessor implements PropertyAccessor<Timestamp> { @Override public String toString(Object object) { Timestamp timeStamp = (Timestamp) object; if (timeStamp == null) { return null; } return String.valueOf(timeStamp.getTime()); }  @Override Timestamp fromBytes(Class targetClass, byte[] b); @Override byte[] toBytes(Object object); @Override String toString(Object object); @Override Timestamp fromString(Class targetClass, String s); @Override Timestamp getCopy(Object object); Timestamp getInstance(Class<?> clazz); static Logger log; }### Answer:
@Test public void testToStringObject() { Assert.assertNull(accessor.toString(null)); long l = System.currentTimeMillis(); Timestamp t = new Timestamp(l); Assert.assertEquals("" + l, accessor.toString(t)); }