### Question:
PointStamped extends Message { @Override public PointStamped clone() { return new PointStamped(this.header, this.point); } PointStamped();  PointStamped(Header header, Point point); Header getHeader(); Point getPoint(); @Override PointStamped clone(); static PointStamped fromJsonString(String jsonString); static PointStamped fromMessage(Message m); static PointStamped fromJsonObject(JsonObject jsonObject); static final String FIELD_HEADER; static final String FIELD_POINT; static final String TYPE; }### Answer:
@Test public void testClone() { PointStamped clone = p1.clone(); assertEquals(p1.toString(), clone.toString()); assertEquals(p1.toJsonObject(), clone.toJsonObject()); assertEquals(p1.getMessageType(), clone.getMessageType()); assertEquals(p1.getHeader(), clone.getHeader()); assertEquals(p1.getPoint(), clone.getPoint()); assertNotSame(p1, clone); assertNotSame(p1.toString(), clone.toString()); assertNotSame(p1.toJsonObject(), clone.toJsonObject()); }