### Question:
Wrench extends Message { @Override public Wrench clone() { return new Wrench(this.force.clone(), this.torque.clone()); } Wrench();  Wrench(Vector3 force, Vector3 torque); Vector3 getForce(); Vector3 getTorque(); @Override Wrench clone(); static Wrench fromJsonString(String jsonString); static Wrench fromMessage(Message m); static Wrench fromJsonObject(JsonObject jsonObject); static final String FIELD_FORCE; static final String FIELD_TORQUE; static final String TYPE; }### Answer:
@Test public void testClone() { Wrench clone = w1.clone(); assertEquals(w1.toString(), clone.toString()); assertEquals(w1.toJsonObject(), clone.toJsonObject()); assertEquals(w1.getMessageType(), clone.getMessageType()); assertEquals(w1.getForce(), clone.getForce()); assertEquals(w1.getTorque(), clone.getTorque()); assertNotSame(w1, clone); assertNotSame(w1.toString(), clone.toString()); assertNotSame(w1.toJsonObject(), clone.toJsonObject()); assertNotSame(w1.getForce(), clone.getForce()); assertNotSame(w1.getTorque(), clone.getTorque()); }