### Question:
BooleanAccessor implements PropertyAccessor<Boolean> { @Override public String toString(Object object) { return object != null ? object.toString() : null; }  @Override Boolean fromBytes(Class targetClass, byte[] data); @Override byte[] toBytes(Object object); @Override String toString(Object object); @Override Boolean fromString(Class targetClass, String s); @Override Boolean getCopy(Object object); Boolean getInstance(Class<?> clazz);  }### Answer:
@Test public void testToStringObject() { Assert.assertNull(accessor.toString(null)); Assert.assertEquals("true", accessor.toString(new Boolean(true))); Assert.assertEquals("false", accessor.toString(new Boolean(false))); }