object.putEDBObjectEntry("primitiveInt", Integer.MAX_VALUE);
object.putEDBObjectEntry("primitiveLong", Long.MAX_VALUE);
object.putEDBObjectEntry("primitiveFloat", Float.MAX_VALUE);
object.putEDBObjectEntry("primitiveDouble", Double.MAX_VALUE);
PrimitivePropertiesModel model = converter.convertEDBObjectToModel(PrimitivePropertiesModel.class, object);
assertThat(model.getId(), is("test"));
assertThat(model.getBooleanByGet(), is(true));
assertThat(model.isBooleanByIs(), is(true));
assertThat(model.getPrimitiveChar(), is(Character.MAX_VALUE));
assertThat(model.getPrimitiveShort(), is(Short.MAX_VALUE));
assertThat(model.getPrimitiveInt(), is(Integer.MAX_VALUE));
assertThat(model.getPrimitiveLong(), is(Long.MAX_VALUE));
assertThat(model.getPrimitiveFloat(), is(Float.MAX_VALUE));
assertThat(model.getPrimitiveDouble(), is(Double.MAX_VALUE));
}