@Test
public void testIsColumnCreationEnabledWhenActiveDecisionTableIsReadOnly() {

    final GuidedDecisionTableView.Presenter dtPresenter = mock(GuidedDecisionTableView.Presenter.class);
    doReturn(true).when(dtPresenter).isReadOnly();
    final boolean isColumnCreationEnabled = presenter.isColumnCreationEnabled(Optional.of(dtPresenter));
    assertFalse(isColumnCreationEnabled);
}