@Test
public void testConstructEntityUsages() throws Exception {

    Resource class1a = vf.createIRI("http://mobi.com/ontology#Class1a");
    Resource class1b = vf.createIRI("http://mobi.com/ontology#Class1b");
    IRI subClassOf = vf.createIRI("http://www.w3.org/2000/01/rdf-schema#subClassOf");
    Resource individual1a = vf.createIRI("http://mobi.com/ontology#Individual1a");
    IRI type = vf.createIRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
    com.mobi.rdf.api.Model expected = mf.createModel(Stream.of(vf.createStatement(class1b, subClassOf,
            class1a), vf.createStatement(individual1a, type, class1a)).collect(Collectors.toSet()));
    com.mobi.rdf.api.Model result = queryOntology.constructEntityUsages(class1a, mf);
    assertEquals(result, expected);
}