### Question:
Float32MultiArray extends Message { public static Float32MultiArray fromJsonString(java.lang.String jsonString) { return Float32MultiArray.fromMessage(new Message(jsonString)); } Float32MultiArray();  Float32MultiArray(MultiArrayLayout layout, float[] data); MultiArrayLayout getLayout(); int size(); float get(int index); float[] getData(); @Override Float32MultiArray clone(); static Float32MultiArray fromJsonString(java.lang.String jsonString); static Float32MultiArray fromMessage(Message m); static Float32MultiArray fromJsonObject(JsonObject jsonObject); static final java.lang.String FIELD_LAYOUT; static final java.lang.String FIELD_DATA; static final java.lang.String TYPE; }### Answer:
@Test public void testFromJsonString() { Float32MultiArray p = Float32MultiArray.fromJsonString(a1.toString()); assertEquals(a1.toString(), p.toString()); assertEquals(a1.toJsonObject(), p.toJsonObject()); assertEquals(a1.getMessageType(), p.getMessageType()); assertTrue(Arrays.equals(a1.getData(), p.getData())); assertEquals(a1.getLayout(), p.getLayout()); assertNotSame(a1, p); assertNotSame(a1.toString(), p.toString()); assertNotSame(a1.toJsonObject(), p.toJsonObject()); assertEquals(a1.size(), p.size()); }