@Test
public void testManageHeaderRightClick() {

    final int clickPointX = 5;
    final int clickPointy = 6;
    doReturn(clickPointX).when(contextNativeEventMock).getClientX();
    doReturn(clickPointy).when(contextNativeEventMock).getClientY();
    assertThat(scenarioContextMenuRegistry.manageRightClick(scenarioGridMock, contextMenuEventMock))
            .as("Click to [0,0] header cell")
            .isTrue();
    verify(scenarioGridMock, times(1)).clearSelections();
    verify(expectedContextMenuMock).show(GridWidget.SIMULATION,
                                         clickPointX,
                                         clickPointy,
                                         0,
                                         COLUMN_GROUP, false,
                                         settingsLocal.getType().equals(ScenarioSimulationModel.Type.RULE));
    verify(scenarioGridMock, times(1)).setSelectedColumnAndHeader(eq(0), eq(0));
    verifyZeroInteractions(headerExpectedContextMenuMock);
}