@Test
public void getAdditionsUsingResourceWithQuads() {

    IRI commit = VALUE_FACTORY.createIRI(COMMITS + "quad-test1");
    IRI object1 = VALUE_FACTORY.createIRI("http://mobi.com/test/object1");
    IRI object2 = VALUE_FACTORY.createIRI("http://mobi.com/test/object2");
    IRI revisionedGraph = VALUE_FACTORY.createIRI(GRAPHS + "quad-graph1");
    Model expected = MODEL_FACTORY.createModel(Stream.of(
            VALUE_FACTORY.createStatement(object1, titleIRI, VALUE_FACTORY.createLiteral("Test 1 Title")),
            VALUE_FACTORY.createStatement(object2, titleIRI, VALUE_FACTORY.createLiteral("Test 1 Title"), revisionedGraph),
            VALUE_FACTORY.createStatement(object2, typeIRI, OWL_THING, revisionedGraph)
    ).collect(Collectors.toList()));
    try (RepositoryConnection conn = repo.getConnection()) {
        Stream<Statement> result = service.getAdditions(commit, conn);
        assertEquals(new HashSet<>(expected), result.collect(Collectors.toSet()));
    }
}