use of dev.morphia.mapping.codec.pojo.EntityModelBuilder in project morphia by MorphiaOrg.
the class EntityModelTest method testFindParameterization.
@Test
public void testFindParameterization() {
EntityModel model = new EntityModelBuilder(getMapper(), Child.class).build();
assertEquals(model.getProperty("someField").getType(), LocalDate.class);
}
use of dev.morphia.mapping.codec.pojo.EntityModelBuilder in project morphia by mongodb.
the class EntityModelTest method testFindParameterization.
@Test
public void testFindParameterization() {
EntityModel model = new EntityModelBuilder(getMapper(), Child.class).build();
assertEquals(model.getProperty("someField").getType(), LocalDate.class);
}
Aggregations