}
@Test
public void convert_convertsCorrectly() throws Exception {
// build test commit
EKBCommit commit = new EKBCommit();
commit.setConnectorId("testConnector");
commit.setDomainId("testDomain");
commit.setInstanceId("testInstance");
commit.setRevisionNumber(UUID.fromString("550e8400-e29b-41d4-a716-446655440000"));
OpenEngSBModel insert1 = new TestModelA();
OpenEngSBModel insert2 = new TestModelA();
OpenEngSBModel insert3 = new TestModelB();
OpenEngSBModel update1 = new TestModelA();
OpenEngSBModel update2 = new TestModelA();
OpenEngSBModel delete1 = new TestModelA();
OpenEngSBModel delete2 = new TestModelB();
commit.addInsert(insert1).addInsert(insert2).addInsert(insert3);
commit.addUpdate(update1).addUpdate(update2);
commit.addDelete(delete1).addDelete(delete2);
// test
IndexCommit convertedCommit = converter.convert(commit);
// assert