### Question:
UInt16MultiArray extends Message { public static UInt16MultiArray fromJsonString(java.lang.String jsonString) { return UInt16MultiArray.fromMessage(new Message(jsonString)); } UInt16MultiArray();  UInt16MultiArray(MultiArrayLayout layout, short[] data); MultiArrayLayout getLayout(); int size(); short get(int index); short[] getData(); @Override UInt16MultiArray clone(); static UInt16MultiArray fromJsonString(java.lang.String jsonString); static UInt16MultiArray fromMessage(Message m); static UInt16MultiArray 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() { UInt16MultiArray p = UInt16MultiArray.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()); }