### Question:
ObjectAccessor implements PropertyAccessor<Object> { @Override public final String toString(Object object) { return object != null ? object.toString() : null; }  @Override final Object fromBytes(Class targetClass, byte[] bytes); @Override final byte[] toBytes(Object o); @Override final String toString(Object object); @Override Object fromString(Class targetClass, String s); @Override Object getCopy(Object object); Object getInstance(Class<?> clazz); static Logger log; }### Answer:
@Test public void testToStringObject() { PersonalDetail pd = new PersonalDetail("Amresh", "password", "single"); String s = accessor.toString(pd); Assert.assertNotNull(s); }