@Test
public void testGetCatalog() throws Exception {

  String eventMetadataString = IOUtils.toString(getClass().getResource("/eventCatalog.json"));
  given().pathParam("eventId", "notExists").pathParam("id", "publish-catalog-1").expect()
          .statusCode(HttpStatus.SC_NOT_FOUND).when().get(rt.host("{eventId}/asset/catalog/{id}.json"));
  given().pathParam("eventId", "asdasd").pathParam("id", "notExists").expect().statusCode(HttpStatus.SC_NOT_FOUND)
          .when().get(rt.host("{eventId}/asset/catalog/{id}.json"));
  String result = given().pathParam("eventId", "asdasd").pathParam("id", "publish-catalog-1").expect()
          .statusCode(HttpStatus.SC_OK).when().get(rt.host("{eventId}/asset/catalog/{id}.json")).asString();
  assertThat(eventMetadataString, SameJSONAs.sameJSONAs(result));
}