@Test
public void testManageBodyRightClick() {

    final int clickPointX = 5;
    final int clickPointY = 11;
    final double widgetHeight = 50.0;
    final double rowHeight = widgetHeight - HEADER_HEIGHT;
    doReturn(clickPointX).when(contextNativeEventMock).getClientX();
    doReturn(clickPointY).when(contextNativeEventMock).getClientY();
    doReturn(widgetHeight).when(scenarioGridMock).getHeight();
    doReturn(1).when(scenarioGridModelMock).getRowCount();
    final GridRow gridRowMock = mock(GridRow.class);
    doReturn(gridRowMock).when(scenarioGridModelMock).getRow(0);
    doReturn(rowHeight).when(gridRowMock).getHeight();
    assertThat(scenarioContextMenuRegistry.manageRightClick(scenarioGridMock, contextMenuEventMock))
            .as("Click to expect/given body cell")
            .isTrue();
    verify(scenarioGridMock, times(1)).clearSelections();
    verify(gridContextMenuMock).show(GridWidget.SIMULATION,
                                     clickPointX,
                                     clickPointY,
                                     0);
    verify(scenarioGridMock, times(1)).setSelectedCell(eq(0), eq(0));
}