### Question:
IncludedModelsPagePresenter { @PostConstruct public void init() { getView().init(this); getView().setGrid(getGridComponent().getElement()); getModal().init(this); } @Inject  IncludedModelsPagePresenter(final View view,
                                       final DMNCardsGridComponent gridComponent,
                                       final IncludedModelModal modal); @PostConstruct void init(); HTMLElement getElement(); void refresh();  }### Answer:
@Test public void testInit() { final HTMLElement htmlElement = mock(HTMLElement.class); when(gridComponent.getElement()).thenReturn(htmlElement); pagePresenter.init(); verify(view).init(pagePresenter); verify(view).setGrid(htmlElement); verify(modal).init(pagePresenter); }