@Test public void testCreateOntologyChange() { AddImportData data = createData(); AddImport change = data.createOntologyChange(mockOntology); assertEquals(mockOntology, change.getOntology()); assertEquals(mockDeclaration, change.getImportDeclaration()); }
@Test public void testOntologyChangeSymmetry() { AddImportData data = createData(); AddImport change = new AddImport(mockOntology, mockDeclaration); assertEquals(change.getChangeData(), data); }