### Question:
SQLTimestampAccessor implements PropertyAccessor<Timestamp> { @Override public Timestamp getCopy(Object object) { Timestamp ts = (Timestamp) object; return ts != null ? new Timestamp(ts.getTime()) : null; }  @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 testGetCopy() { Assert.assertNull(accessor.getCopy(null)); long currTime = System.currentTimeMillis(); Timestamp t1 = new Timestamp(currTime); Timestamp t2 = accessor.getCopy(t1); Assert.assertNotNull(t2); Assert.assertEquals(currTime, t2.getTime()); }