### Question:
Point extends Message { @Override public Point clone() { return new Point(this.x, this.y, this.z); } Point();  Point(double x, double y, double z); double getX(); double getY(); double getZ(); @Override Point clone(); static Point fromJsonString(String jsonString); static Point fromMessage(Message m); static Point fromJsonObject(JsonObject jsonObject); static final String FIELD_X; static final String FIELD_Y; static final String FIELD_Z; static final String TYPE; }### Answer:
@Test public void testClone() { Point clone = p1.clone(); assertEquals(p1.toString(), clone.toString()); assertEquals(p1.toJsonObject(), clone.toJsonObject()); assertEquals(p1.getMessageType(), clone.getMessageType()); assertEquals(p1.getX(), clone.getX(), 0); assertEquals(p1.getY(), clone.getY(), 0); assertEquals(p1.getZ(), clone.getZ(), 0); assertNotSame(p1, clone); assertNotSame(p1.toString(), clone.toString()); assertNotSame(p1.toJsonObject(), clone.toJsonObject()); }