@Test
public void testAddEventHandler() {

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