@Test
public void modelToSkolemizedJsonldTest() throws Exception {

    String result = RestUtils.modelToSkolemizedJsonld(model, transformer, service);
    assertEquals(removeWhitespace(expectedJsonld), removeWhitespace(result));
    verify(service, atLeastOnce()).skolemize(any(Statement.class));
}