@Test
public void testGetRecordIds() throws Exception {

    Set<Resource> results = manager.getRecordIds(distributedCatalogId);
    verify(utilsService).validateResource(eq(distributedCatalogId), eq(VALUE_FACTORY.createIRI(Catalog.TYPE)), any(RepositoryConnection.class));
    assertEquals(TOTAL_SIZE, results.size());
    assertTrue(results.contains(RECORD_IRI));
    assertTrue(results.contains(UNVERSIONED_RECORD_IRI));
    assertTrue(results.contains(VERSIONED_RECORD_IRI));
    assertTrue(results.contains(VERSIONED_RDF_RECORD_IRI));
}