@Test
public void addCommitToMasterWithCommitWithNoBaseTest() throws Exception {

    try (RepositoryConnection conn = repo.getConnection()) {
        service.addCommit(branch, commit, conn);
        verify(catalogUtils).addCommit(branch, commit, conn);
        verify(catalogUtils, times(0)).getAdditions(commit, conn);
        verify(catalogUtils, times(0)).getObject(record.getResource(), ontologyRecordFactory, conn);
        verify(ontologyManager, times(0)).ontologyIriExists(newIRI);
        assertTrue(record.getOntologyIRI().isPresent());
        assertEquals(originalIRI, record.getOntologyIRI().get());
        verify(catalogUtils, times(0)).updateObject(record, conn);
        verify(ontologyCache, times(0)).clearCacheImports(any(com.mobi.rdf.api.Resource.class));
    }
}