@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(view.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = pagePresenter.getElement(); assertEquals(expectedElement, actualElement); }
public HTMLElement getElement() { return getView().getElement(); }
IncludedModelsPagePresenter { public HTMLElement getElement() { return getView().getElement(); } }
IncludedModelsPagePresenter { public HTMLElement getElement() { return getView().getElement(); } @Inject  IncludedModelsPagePresenter(final View view,
                                       final DMNCardsGridComponent gridComponent,
                                       final IncludedModelModal modal); }
IncludedModelsPagePresenter { public HTMLElement getElement() { return getView().getElement(); } @Inject  IncludedModelsPagePresenter(final View view,
                                       final DMNCardsGridComponent gridComponent,
                                       final IncludedModelModal modal); @PostConstruct void init(); HTMLElement getElement(); void refresh(); }
IncludedModelsPagePresenter { public HTMLElement getElement() { return getView().getElement(); } @Inject  IncludedModelsPagePresenter(final View view,
                                       final DMNCardsGridComponent gridComponent,
                                       final IncludedModelModal modal); @PostConstruct void init(); HTMLElement getElement(); void refresh();  }