@Test
public void testGetConflicts() throws Exception {

    // Setup:
    Resource leftId = VALUE_FACTORY.createIRI("urn:left");
    Resource rightId = VALUE_FACTORY.createIRI("urn:right");
    Set<Conflict> set = Collections.singleton(conflict);
    when(utilsService.getConflicts(any(Resource.class), any(Resource.class), any(RepositoryConnection.class))).thenReturn(set);
    Set<Conflict> result = manager.getConflicts(leftId, rightId);
    verify(utilsService).getConflicts(eq(leftId), eq(rightId), any(RepositoryConnection.class));
    assertEquals(result, set);
}