@Test
public void testGetEventScheduling() throws Exception {

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