}
@Test
@WithMockUser(roles = "ADMIN")
public void deleteEvent() throws Exception {
mockMvc.perform(delete("/events/{id}", 9))//
<BUG>.andExpect(status().isNoContent())//

;</BUG>
}
}

}
@Test
public void retrieveNonexistentEvent() throws Exception {
mockMvc.perform(get("/events/{id}", 12345).accept(APPLICATION_JSON))//
.andExpect(status().isNotFound());
}
