@Test
public void testFromMessage() {

	Message m = new Message(mad1.toString());
	MultiArrayDimension p = MultiArrayDimension.fromMessage(m);
	assertEquals(mad1.toString(), p.toString());
	assertEquals(mad1.toJsonObject(), p.toJsonObject());
	assertEquals(mad1.getMessageType(), p.getMessageType());
	assertEquals(mad1.getLabel(), p.getLabel());
	assertEquals(mad1.getSize(), p.getSize());
	assertEquals(mad1.getStride(), p.getStride());
	assertNotSame(mad1, p);
	assertNotSame(mad1.toString(), p.toString());
	assertNotSame(mad1.toJsonObject(), p.toJsonObject());
}