@Test
public void registerHandlers() {

    scenarioSimulationEventHandler.registerHandlers();
    verify(eventBusMock, times(1)).addHandler(eq(AppendColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(appendColumnHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(AppendRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(appendRowHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(DeleteColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(deleteColumnHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(DeleteRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(deleteRowHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(DisableTestToolsEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(disableTestToolsEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(DuplicateInstanceEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(duplicateColumnHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(DuplicateRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(duplicateHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(EnableTestToolsEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(enableTestToolsEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(ImportEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(importHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(InsertColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(insertColumnHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(InsertRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(insertRowHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(PrependColumnEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(prependColumnHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(PrependRowEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(prependRowHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(RedoEvent.TYPE), isA(RedoEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(redoEventHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(ReloadTestToolsEvent.TYPE), isA(ReloadTestToolsEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(reloadTestToolsHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(RunSingleScenarioEvent.TYPE), isA(RunSingleScenarioEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(runSingleScenarioHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(ScenarioGridReloadEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(scenarioGridReloadHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(SetGridCellValueEvent.TYPE), isA(SetGridCellValueEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(setGridCellValueEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(SetHeaderCellValueEvent.TYPE), isA(SetHeaderCellValueEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(setHeaderCellValueEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(SetInstanceHeaderEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(setInstanceHeaderEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(SetPropertyHeaderEvent.TYPE), isA(ScenarioSimulationEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(setPropertyHeaderEventHandlerMock));
    verify(eventBusMock, times(1)).addHandler(eq(UndoEvent.TYPE), isA(UndoEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(undoEventHandlerRegistrationMock));
    verify(eventBusMock, times(1)).addHandler(eq(UnsupportedDMNEvent.TYPE), isA(UnsupportedDMNEventHandler.class));
    verify(handlerRegistrationListMock, times(1)).add(eq(unsupportedDMNEventHandlerRegistrationMock));
}