@Test
public void testGetPublication() throws Exception {

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