use of dev.morphia.test.models.errors.ContainsDocument in project morphia by mongodb.
the class TestMapping method testEmbeddedDocument.
@Test
public void testEmbeddedDocument() {
getMapper().map(ContainsDocument.class);
getDs().save(new ContainsDocument());
assertNotNull(getDs().find(ContainsDocument.class).iterator(new FindOptions().limit(1)).next());
}
Aggregations