### Question:
PointAccessor implements PropertyAccessor<Point> { @Override public Point getCopy(Object object) { if (object == null) return null; Point p = (Point) object; return new Point(p.getX(), p.getY()); }  @Override Point fromBytes(Class targetClass, byte[] b); @Override byte[] toBytes(Object object); @Override String toString(Object object); @Override Point fromString(Class targetClass, String s); @Override Point getCopy(Object object); @Override Object getInstance(Class<?> clazz); static Logger log; }### Answer:
@Test public void testGetCopy() { Point point = new Point(4.5, 6.3); Point point2 = pa.getCopy(point); Assert.assertFalse(point == point2); Assert.assertTrue(point.equals(point2)); }