### Question:
StringAccessor implements PropertyAccessor<String> { @Override public String fromString(Class targetClass, String s) { return s; }  @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 testFromString() { Assert.assertNull(accessor.fromString(String.class, null)); String d1 = new String("AAA"); String s = d1.toString(); String d2 = accessor.fromString(String.class, s); Assert.assertEquals(d1, d2); }