@Test
public void testGetMedia() throws Exception {

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