### Question:
EventDeletionUpdate extends Update { @Override public void applyUpdate(RepositorySet repositorySet) { repositorySet.eventRepository.deleteEvent(eventID); } EventDeletionUpdate(@JsonProperty("time-created") Date timeCreated,
                               @JsonProperty("creator") int creator,
                               @JsonProperty("group-id") int groupID,
                               @JsonProperty("id") int eventID); @Override void applyUpdate(RepositorySet repositorySet);  }### Answer:
@Test public void applyUpdate() throws Exception { EventDeletionUpdate update = new EventDeletionUpdate(date, creator1, group1, event1); update.applyUpdate(mockRepos); verify(mockEventRepository).deleteEvent(event1); }