@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);
}