@Test
public void testOnDecisionTableSelectedEventWithSingleRowSelectedAndItDoesNotHaveEditableColumns() {

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