@Test
public void testGetMediaList() throws Exception {

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