### Question:
Twist extends Message { @Override public Twist clone() { return new Twist(this.linear, this.angular); } Twist();  Twist(Vector3 linear, Vector3 angular); Vector3 getLinear(); Vector3 getAngular(); @Override Twist clone(); static Twist fromJsonString(String jsonString); static Twist fromMessage(Message m); static Twist fromJsonObject(JsonObject jsonObject); static final String FIELD_LINEAR; static final String FIELD_ANGULAR; static final String TYPE; }### Answer:
@Test public void testClone() { Twist clone = t1.clone(); assertEquals(t1.toString(), clone.toString()); assertEquals(t1.toJsonObject(), clone.toJsonObject()); assertEquals(t1.getMessageType(), clone.getMessageType()); assertEquals(t1.getLinear(), clone.getLinear()); assertEquals(t1.getAngular(), clone.getAngular()); assertNotSame(t1, clone); assertNotSame(t1.toString(), clone.toString()); assertNotSame(t1.toJsonObject(), clone.toJsonObject()); }