### Question:
Vector3Stamped extends Message { public static Vector3Stamped fromJsonString(String jsonString) { return Vector3Stamped.fromMessage(new Message(jsonString)); } Vector3Stamped();  Vector3Stamped(Header header, Vector3 vector); Header getHeader(); Vector3 getVector3(); @Override Vector3Stamped clone(); static Vector3Stamped fromJsonString(String jsonString); static Vector3Stamped fromMessage(Message m); static Vector3Stamped fromJsonObject(JsonObject jsonObject); static final String FIELD_HEADER; static final String FIELD_VECTOR; static final String TYPE; }### Answer:
@Test public void testFromJsonString() { Vector3Stamped p = Vector3Stamped.fromJsonString(v1.toString()); assertEquals(v1.toString(), p.toString()); assertEquals(v1.toJsonObject(), p.toJsonObject()); assertEquals(v1.getMessageType(), p.getMessageType()); assertEquals(v1.getHeader(), p.getHeader()); assertEquals(v1.getVector3(), p.getVector3()); assertNotSame(v1, p); assertNotSame(v1.toString(), p.toString()); assertNotSame(v1.toJsonObject(), p.toJsonObject()); }