@Test
public void testUpdateEventHandler() {

    EventHandler eventHandler = new EventHandler();
    eventResource.updateEventHandler(eventHandler);
    verify(mockEventService, times(1)).updateEventHandler(any(EventHandler.class));
}