@Test
public void types() throws Exception {
DataModelDefinition<Simple> def = new SimpleDataModelDefinition<Simple>(Simple.class);
JsonObject json = new JsonObject();
json.addProperty("boolean_value", true);
json.addProperty("byte_value", (byte) 100);
json.addProperty("short_value", (short) 200);
json.addProperty("long_value", 300L);
json.addProperty("big_integer_value", new BigInteger("123456"));
json.addProperty("float_value", 1.0f);
json.addProperty("double_value", 1.5d);