@Test
public void testFromJsonObject() {

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