@Test
public void testGetEventWorkflows() throws Exception {

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