### Question:
UInt8 extends Message { @Override public UInt8 clone() { return new UInt8(this.data); } UInt8();  UInt8(byte data); byte getData(); @Override UInt8 clone(); static UInt8 fromJsonString(java.lang.String jsonString); static UInt8 fromMessage(Message m); static UInt8 fromJsonObject(JsonObject jsonObject); static final java.lang.String FIELD_DATA; static final java.lang.String TYPE; }### Answer:
@Test public void testClone() { UInt8 clone = i1.clone(); assertEquals(i1.toString(), clone.toString()); assertEquals(i1.toJsonObject(), clone.toJsonObject()); assertEquals(i1.getMessageType(), clone.getMessageType()); assertEquals(i1.getData(), clone.getData()); assertNotSame(i1, clone); assertNotSame(i1.toString(), clone.toString()); assertNotSame(i1.toJsonObject(), clone.toJsonObject()); }