### Question:
ColorRGBA extends Message { @Override public ColorRGBA clone() { return new ColorRGBA(this.r, this.g, this.b, this.a); } ColorRGBA();  ColorRGBA(float r, float g, float b);  ColorRGBA(float r, float g, float b, float a); float getR(); float getG(); float getB(); float getA(); Color toColor(); @Override ColorRGBA clone(); static ColorRGBA fromColor(Color c); static ColorRGBA fromJsonString(java.lang.String jsonString); static ColorRGBA fromMessage(Message m); static ColorRGBA fromJsonObject(JsonObject jsonObject); static final java.lang.String FIELD_R; static final java.lang.String FIELD_G; static final java.lang.String FIELD_B; static final java.lang.String FIELD_A; static final java.lang.String TYPE; }### Answer:
@Test public void testClone() { ColorRGBA clone = c2.clone(); assertEquals(c2.toString(), clone.toString()); assertEquals(c2.toJsonObject(), clone.toJsonObject()); assertEquals(c2.getMessageType(), clone.getMessageType()); assertEquals(c2.getR(), clone.getR(), 0); assertEquals(c2.getG(), clone.getG(), 0); assertEquals(c2.getB(), clone.getB(), 0); assertEquals(c2.getA(), clone.getA(), 0); assertEquals(c2.toColor(), clone.toColor()); assertNotSame(c2, clone); assertNotSame(c2.toString(), clone.toString()); assertNotSame(c2.toJsonObject(), clone.toJsonObject()); }