### Question:
Pose extends Message { @Override public Pose clone() { return new Pose(this.position, this.orientation); } Pose();  Pose(Point position, Quaternion orientation); Point getPosition(); Quaternion getOrientation(); @Override Pose clone(); static Pose fromJsonString(String jsonString); static Pose fromMessage(Message m); static Pose fromJsonObject(JsonObject jsonObject); static final String FIELD_POSITION; static final String FIELD_ORIENTATION; static final String TYPE; }### Answer:
@Test public void testClone() { Pose clone = p1.clone(); assertEquals(p1.toString(), clone.toString()); assertEquals(p1.toJsonObject(), clone.toJsonObject()); assertEquals(p1.getMessageType(), clone.getMessageType()); assertEquals(p1.getPosition(), clone.getPosition()); assertEquals(p1.getOrientation(), clone.getOrientation()); assertNotSame(p1, clone); assertNotSame(p1.toString(), clone.toString()); assertNotSame(p1.toJsonObject(), clone.toJsonObject()); }