Examples of SubTestModel


Examples of org.openengsb.core.edbi.models.SubTestModel

        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))
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.