### Question:
ColorRGBA extends Message { public static ColorRGBA fromJsonString(java.lang.String jsonString) { return ColorRGBA.fromMessage(new Message(jsonString)); } 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 testFromJsonString() { ColorRGBA p = ColorRGBA.fromJsonString(c2.toString()); assertEquals(c2.toString(), p.toString()); assertEquals(c2.toJsonObject(), p.toJsonObject()); assertEquals(c2.getMessageType(), p.getMessageType()); assertEquals(c2.getR(), p.getR(), 0); assertEquals(c2.getG(), p.getG(), 0); assertEquals(c2.getB(), p.getB(), 0); assertNotSame(c2, p); assertNotSame(c2.toString(), p.toString()); assertNotSame(c2.toJsonObject(), p.toJsonObject()); }