### Question:
StringAccessor implements PropertyAccessor<String> { @Override public String getCopy(Object object) { return object != null ? new String((String) object) : null; }  @Override final String fromBytes(Class targetClass, byte[] bytes); @Override final byte[] toBytes(Object s); @Override final String toString(Object object); @Override String fromString(Class targetClass, String s); @Override String getCopy(Object object); String getInstance(Class<?> clazz); static Logger log; }### Answer:
@Test public void testGetCopy() { String d1 = new String("AAA"); String d2 = accessor.getCopy(d1); Assert.assertEquals(d1, d2); }