@Test
public void testOnDecisionTableSelectionsChangedEventWithMultipleRowsSelectedAndItDoesNotHaveEditableColumns() {

    when(dtPresenter.hasEditableColumns()).thenReturn(false);
    model.getConditions().add(makePattern52());
    model.getData().add(makeDTCellValue52List());
    model.getData().add(makeDTCellValue52List());
    uiModel.selectCells(0, 2, 1, 2);
    builder.onDecisionTableSelectionsChangedEvent(new DecisionTableSelectionsChangedEvent(dtPresenter));
    assertTrue(builder.miAppendRow.getMenuItem().isEnabled());
    assertFalse(builder.miInsertRowAbove.getMenuItem().isEnabled());
    assertFalse(builder.miInsertRowBelow.getMenuItem().isEnabled());
    assertFalse(builder.miInsertColumn.getMenuItem().isEnabled());
}