@Test
public void testURI() {

    URI parentScopeURI;
    try {
        parentScopeURI = new URI(parentScope);
    } catch (URISyntaxException | NullPointerException e) {
        parentScopeURI = null;
    }
    URI actual = ReferenceResolver.resolve(parentScopeURI, encounteredSegment);
}