@Test
public void asJsonldWithoutSkolemizeTest() throws Exception {

    // Setup
    SimpleBNodeService blankNodeService = spy(new SimpleBNodeService());
    blankNodeService.setModelFactory(mf);
    blankNodeService.setValueFactory(vf);
    InputStream stream = this.getClass().getResourceAsStream("/list-ontology.ttl");
    InputStream expected = this.getClass().getResourceAsStream("/list-ontology.jsonld");
    Ontology listOntology = new SimpleOntology(Models.createModel(stream, transformer), repo, ontologyManager, catalogManager, catalogConfigProvider, datasetManager, importsResolver, transformer, blankNodeService, vf, mf);
    String jsonld = listOntology.asJsonLD(false).toString();
    assertEquals(removeWhitespace(IOUtils.toString(expected, Charset.defaultCharset()).replaceAll("_:node[a-zA-Z0-9]+\"", "\"")),
            removeWhitespace(jsonld.replaceAll("_:node[a-zA-Z0-9]+\"", "\"")));
    verify(blankNodeService, times(0)).skolemize(any(com.mobi.rdf.api.Model.class));
}