### Question:
Time extends Message { @Override public Time clone() { return new Time(this.data.clone()); } 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 testClone() { Time clone = t1.clone(); assertEquals(t1.toString(), clone.toString()); assertEquals(t1.toJsonObject(), clone.toJsonObject()); assertEquals(t1.getMessageType(), clone.getMessageType()); assertEquals(t1.getData(), clone.getData()); assertNotSame(t1, clone); assertNotSame(t1.toString(), clone.toString()); assertNotSame(t1.toJsonObject(), clone.toJsonObject()); assertNotSame(t1.getData(), clone.getData()); }