@Test
public void testGetConceptRelationshipsDeclared() throws Exception {

    // Setup:
    Set<Resource> expectedSubjects = Stream.of(vf.createIRI("http://mobi.com/ontology/only-declared#ConceptA"))
            .collect(Collectors.toSet());
    Hierarchy result = onlyDeclared.getConceptRelationships(vf, mf);
    Map<String, Set<String>> parentMap = result.getParentMap();
    assertEquals(0, parentMap.size());
    Map<String, Set<String>> childMap = result.getChildMap();
    assertEquals(0, childMap.size());
    assertEquals(expectedSubjects, result.getModel().subjects());
}