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