CaseInstanceListPresenter extends AbstractPresenter<CaseInstanceListPresenter.CaseInstanceListView> { @Override public void init() { super.init(); view.setValue(new CaseInstanceSearchRequest()); refreshData(); }  @WorkbenchPartTitle String getTitle(); @Override void init(); void createCaseInstance(); void onCaseCreatedEvent(@Observes CaseCreatedEvent event); @Inject void setCaseService(final Caller<CaseManagementService> caseService); static final String SCREEN_ID; }
@Test public void testInit() { presenter.init(); verify(view).init(presenter); verify(view).setValue(new CaseInstanceSearchRequest()); verify(caseManagementService).getCaseInstances(view.getValue()); }