@Test
public void testGetPagesWhenTableFormatIsLimitedEntry() throws Exception {

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