@Test
public void getCatalogTest() {

    Response response = target().path("catalogs/" + encode(LOCAL_IRI)).request().get();
    assertEquals(response.getStatus(), 200);
    assertResponseIsObjectWithId(response, LOCAL_IRI);
    response = target().path("catalogs/" + encode(DISTRIBUTED_IRI)).request().get();
    assertEquals(response.getStatus(), 200);
    assertResponseIsObjectWithId(response, DISTRIBUTED_IRI);
}