### Question:
Transform extends Message { @Override public Transform clone() { return new Transform(this.translation, this.rotation); } Transform();  Transform(Vector3 translation, Quaternion rotation); Vector3 getTranslation(); Quaternion getRotation(); @Override Transform clone(); static Transform fromJsonString(String jsonString); static Transform fromMessage(Message m); static Transform fromJsonObject(JsonObject jsonObject); static final String FIELD_TRANSLATION; static final String FIELD_ROTATION; static final String TYPE; }### Answer:
@Test public void testClone() { Transform clone = t1.clone(); assertEquals(t1.toString(), clone.toString()); assertEquals(t1.toJsonObject(), clone.toJsonObject()); assertEquals(t1.getMessageType(), clone.getMessageType()); assertEquals(t1.getTranslation(), clone.getTranslation()); assertEquals(t1.getRotation(), clone.getRotation()); assertNotSame(t1, clone); assertNotSame(t1.toString(), clone.toString()); assertNotSame(t1.toJsonObject(), clone.toJsonObject()); }