@Test
public void testOnDecisionTableSelectedEventWithOtherwiseColumnSelectedAndItDoesNotHaveEditableColumns() {

    when(dtPresenter.hasEditableColumns()).thenReturn(false);
    model.getConditions().add(makePattern52());
    model.getData().add(makeDTCellValue52());
    uiModel.selectCell(0, 3);
    builder.onDecisionTableSelectedEvent(new DecisionTableSelectedEvent(dtPresenter));
    assertTrue(builder.miCut.getMenuItem().isEnabled());
    assertTrue(builder.miCopy.getMenuItem().isEnabled());
    assertFalse(builder.miPaste.getMenuItem().isEnabled());
    assertTrue(builder.miDeleteSelectedCells.getMenuItem().isEnabled());
    assertFalse(builder.miDeleteSelectedColumns.getMenuItem().isEnabled());
    assertTrue(builder.miDeleteSelectedRows.getMenuItem().isEnabled());
    assertTrue(builder.miOtherwiseCell.getMenuItem().isEnabled());
    verify(builder.miOtherwiseCell.getMenuItemView(), times(1)).setIconType(eq(null));
}