@Test
public void testGetAllEventMetadata() throws IOException {

  String expectedJson = IOUtils.toString(getClass().getResource("/event-metadata-expected.json"), UTF_8);
  String eventId = TestEventsEndpoint.METADATA_GET_EVENT;
  String result = given().pathParam("event_id", eventId).expect().statusCode(SC_OK).when().get(env.host("{event_id}/metadata")).asString();
  assertThat(result, SameJSONAs.sameJSONAs(expectedJson).allowingAnyArrayOrdering());
}