use of org.uberfire.client.workbench.widgets.multipage.Page in project drools-wb by kiegroup.
the class BaseGuidedDecisionTableEditorPresenterTest method testAddEditorPage.
@Test
public void testAddEditorPage() {
final MultiPageEditor multiPage = mock(MultiPageEditor.class);
final Page page = mock(Page.class);
final int index = 1;
doReturn(multiPage).when(presenter).getKieEditorWrapperMultiPage();
presenter.addEditorPage(index, page);
verify(multiPage).addPage(index, page);
}
Aggregations