@Test
public void testFromJsonObject() {

	JsonObject jsonObject = Json.createObjectBuilder()
			.add(Char.FIELD_DATA, c1.getData()).build();
	Char data = Char.fromJsonObject(jsonObject);
	assertEquals(c1.toString(), data.toString());
	assertEquals(c1.toJsonObject(), data.toJsonObject());
	assertEquals(c1.getMessageType(), data.getMessageType());
	assertEquals(c1.getData(), data.getData());
	assertNotSame(c1, data);
	assertNotSame(c1.toString(), data.toString());
	assertNotSame(c1.toJsonObject(), data.toJsonObject());
}