@Test
public void testFromJsonObject() {

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