### Question:
WrenchStamped extends Message { @Override public WrenchStamped clone() { return new WrenchStamped(this.header, this.wrench); } WrenchStamped();  WrenchStamped(Header header, Wrench wrench); Header getHeader(); Wrench getWrench(); @Override WrenchStamped clone(); static WrenchStamped fromJsonString(String jsonString); static WrenchStamped fromMessage(Message m); static WrenchStamped fromJsonObject(JsonObject jsonObject); static final String FIELD_HEADER; static final String FIELD_WRENCH; static final String TYPE; }### Answer:
@Test public void testClone() { WrenchStamped clone = w1.clone(); assertEquals(w1.toString(), clone.toString()); assertEquals(w1.toJsonObject(), clone.toJsonObject()); assertEquals(w1.getMessageType(), clone.getMessageType()); assertEquals(w1.getHeader(), clone.getHeader()); assertEquals(w1.getWrench(), clone.getWrench()); assertNotSame(w1, clone); assertNotSame(w1.toString(), clone.toString()); assertNotSame(w1.toJsonObject(), clone.toJsonObject()); }