### Question:
Time extends Message { public static Time fromJsonString(java.lang.String jsonString) { return Time.fromMessage(new Message(jsonString)); } Time();  Time(edu.wpi.rail.jrosbridge.primitives.Time data); edu.wpi.rail.jrosbridge.primitives.Time getData(); @Override Time clone(); static Time fromJsonString(java.lang.String jsonString); static Time fromMessage(Message m); static Time fromJsonObject(JsonObject jsonObject); static final java.lang.String FIELD_DATA; static final java.lang.String TYPE; }### Answer:
@Test public void testFromJsonString() { Time data = Time.fromJsonString(t1.toString()); assertEquals(t1.toString(), data.toString()); assertEquals(t1.toJsonObject(), data.toJsonObject()); assertEquals(t1.getMessageType(), data.getMessageType()); assertEquals(t1.getData(), data.getData()); assertNotSame(t1, data); assertNotSame(t1.toString(), data.toString()); assertNotSame(t1.toJsonObject(), data.toJsonObject()); }