@Test
public void testGetPagesWhenTableFormatIsNotLimitedEntry() throws Exception {

    model.setTableFormat(GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY);
    doReturn(model).when(presenter).getModel();
    final List<WizardPage> pages = plugin.getPages();
    final boolean hasPatternToDeletePage = pages.stream().anyMatch(a -> a instanceof PatternToDeletePage);
    assertFalse(hasPatternToDeletePage);
    assertEquals(1,
                 pages.size());
}