@Test
@SuppressWarnings("unchecked")
public void onContextMenuWithCellSelectionManagerWithChangeInSelection() {

    final GuidedDecisionTableView.Presenter dtPresenter = makeDecisionTable();
    final GridData uiModel = dtPresenter.getView().getModel();
    final GridColumn uiColumn = new RowNumberColumn();
    uiModel.appendColumn(uiColumn);
    when(columnInformation.getColumn()).thenReturn(uiColumn);
    when(modellerPresenter.getAvailableDecisionTables()).thenReturn(new HashSet<GuidedDecisionTableView.Presenter>() {{
        add(dtPresenter);
    }});
    when(uiModel.getCell(any(Integer.class),
                         any(Integer.class))).thenReturn(uiCell);
    when(cellSelectionStrategy.handleSelection(any(GridData.class),
                                               any(Integer.class),
                                               any(Integer.class),
                                               any(Boolean.class),
                                               any(Boolean.class))).thenReturn(true);
    final ContextMenuHandler handler = contextMenuSupport.getContextMenuHandler(modellerPresenter);
    handler.onContextMenu(event);
    verify(cellSelectionStrategy,
           times(1)).handleSelection(eq(uiModel),
                                     eq(0),
                                     eq(0),
                                     eq(false),
                                     eq(false));
    verify(layer,
           times(1)).batch();
}