@Test
public void getCompiledResourceWithListTest() {

    try (RepositoryConnection conn = repo.getConnection()) {
        // Setup:
        Resource commitId = VALUE_FACTORY.createIRI("http://mobi.com/test/commits#test1");
        Resource ontologyId = VALUE_FACTORY.createIRI("http://mobi.com/test/ontology");
        Model expected = MODEL_FACTORY.createModel();
        expected.add(ontologyId, typeIRI, VALUE_FACTORY.createIRI("http://www.w3.org/2002/07/owl#Ontology"));
        expected.add(ontologyId, titleIRI, VALUE_FACTORY.createLiteral("Test 1 Title"));
        expected.add(VALUE_FACTORY.createIRI("http://mobi.com/test/class0"), typeIRI, VALUE_FACTORY.createIRI("http://www.w3.org/2002/07/owl#Class"));
        Model result = service.getCompiledResource(commitId, conn);
        result.forEach(statement -> assertTrue(expected.contains(statement)));
    }
}