Package org.openengsb.core.ekb.persistence.persist.edb.internal

Examples of org.openengsb.core.ekb.persistence.persist.edb.internal.ModelDiffEntry


        updated.setModelAId("testreference1");
        updated.setModelBId("testreference2");
        updated.setTest("this is a new teststring");
        ModelDiff diff = ModelDiff.createModelDiff((OpenEngSBModel) old, (OpenEngSBModel) updated);
        assertThat(diff.getDifferences().size(), is(1));
        ModelDiffEntry entry = diff.getDifferences().values().iterator().next();
        assertThat((String) entry.getBefore(), is("this is a teststring"));
        assertThat((String) entry.getAfter(), is("this is a new teststring"));
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.ekb.persistence.persist.edb.internal.ModelDiffEntry

Copyright © 2018 www.massapicom. 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.