@Test
public void retrieveOntologyLocalMasterDoesNotExistTest() {

    when(masterBranch.getHead_resource()).thenReturn(Optional.empty());
    IRI iri = vf.createIRI("urn:localOntology");
    Optional<Model> local = resolver.retrieveOntologyLocal(iri, ontologyManager);
    assertFalse(local.isPresent());
}