@Test
public void signalTestToolsHeaderCellSelected() {

    final int uiColumnIndex = 0;
    final int uiRowIndex = 0;
    final ScenarioGridColumn columnMock = mock(ScenarioGridColumn.class);
    when(columnMock.getIndex()).thenReturn(uiColumnIndex);
    when(scenarioGridModelMock.getColumns()).thenReturn(Collections.singletonList(columnMock));
    final GridData.SelectedCell selectedHeaderCell = mock(GridData.SelectedCell.class);
    when(selectedHeaderCell.getColumnIndex()).thenReturn(uiColumnIndex);
    when(selectedHeaderCell.getRowIndex()).thenReturn(uiRowIndex);
    when(scenarioGridModelMock.getSelectedHeaderCells()).thenReturn(Collections.singletonList(selectedHeaderCell));
    scenarioGridSpy.signalTestToolsHeaderCellSelected(columnMock, selectedHeaderCell, uiColumnIndex);
    verify(eventBusMock, times(1)).fireEvent(isA(EnableTestToolsEvent.class));
}