### Question:
BooleanAccessor implements PropertyAccessor<Boolean> { @Override public Boolean getCopy(Object object) { return object != null ? new Boolean((Boolean) object) : 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 testGetCopy() { Assert.assertNull(accessor.getCopy(null)); Assert.assertTrue(accessor.getCopy(new Boolean(true))); Assert.assertFalse(accessor.getCopy(new Boolean(false))); }