@Test public void testSetupDMNPage() { pageView.parentNode = mock(Element.class); pageView.parentNode.parentNode = targetElement; targetElement.classList = mock(DOMTokenList.class); new DMNPage("Title", pageView, translationService) { }; verify(targetElement.classList).add(DMN_PAGE_CSS_CLASS); }
private void setupDMNPage() { setupPageCSSClass(DMN_PAGE_CSS_CLASS); }
DMNPage extends PageImpl { private void setupDMNPage() { setupPageCSSClass(DMN_PAGE_CSS_CLASS); } }
DMNPage extends PageImpl { private void setupDMNPage() { setupPageCSSClass(DMN_PAGE_CSS_CLASS); } DMNPage(final String i18nTitleKey,
                   final HTMLDivElement pageView,
                   final TranslationService translationService); }
DMNPage extends PageImpl { private void setupDMNPage() { setupPageCSSClass(DMN_PAGE_CSS_CLASS); } DMNPage(final String i18nTitleKey,
                   final HTMLDivElement pageView,
                   final TranslationService translationService);  }
DMNPage extends PageImpl { private void setupDMNPage() { setupPageCSSClass(DMN_PAGE_CSS_CLASS); } DMNPage(final String i18nTitleKey,
                   final HTMLDivElement pageView,
                   final TranslationService translationService);   }