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