@Test
public void testFromMessage() {

	Message m = new Message(s1.toString());
	String data = String.fromMessage(m);
	assertEquals(s1.toString(), data.toString());
	assertEquals(s1.toJsonObject(), data.toJsonObject());
	assertEquals(s1.getMessageType(), data.getMessageType());
	assertEquals(s1.getData(), data.getData());
	assertNotSame(s1, data);
	assertNotSame(s1.toString(), data.toString());
	assertNotSame(s1.toJsonObject(), data.toJsonObject());
}