OWLClass clsC1 = mock(OWLClass.class);
when(clsC1.getIRI()).thenReturn(mock(IRI.class));
when(entityChecker.getOWLClass("C1")).thenReturn(clsC1);
OWLObjectProperty oP = mock(OWLObjectProperty.class);
when(oP.getIRI()).thenReturn(mock(IRI.class));
when(oP.asOWLObjectProperty()).thenReturn(oP);
when(entityChecker.getOWLObjectProperty("oP")).thenReturn(oP);
when(entityChecker.getOWLDataProperty("dP")).thenReturn(
mock(OWLDataProperty.class));
when(entityChecker.getOWLAnnotationProperty("aP")).thenReturn(
mock(OWLAnnotationProperty.class));