@Test
public void testGetEventHandlersForEvent() {

    EventHandler eventHandler = new EventHandler();
    eventResource.addEventHandler(eventHandler);
    List<EventHandler> listOfEventHandler = new ArrayList<>();
    listOfEventHandler.add(eventHandler);
    when(mockEventService.getEventHandlersForEvent(anyString(), anyBoolean())).thenReturn(listOfEventHandler);
    assertEquals(listOfEventHandler, eventResource.getEventHandlersForEvent("testEvent", true));
}