assertTrue(engine.indexExists(TestModel.class));
}
@Test
public void commit_insertWithSubmodel_shouldProperlyInsertRecords() throws Exception {
SubTestModel submodel = new SubTestModel(11);
IndexCommit commit = newTestCommit()
.insert(submodel)
.insert(new TestModel("foo", 1, submodel))
.insert(new TestModel("bar", 2))