CaseOverviewPresenter extends AbstractCaseInstancePresenter<CaseOverviewPresenter.CaseOverviewView> { protected void backToList() { placeManager.goTo(CaseInstanceListPerspective.PERSPECTIVE_ID); }  @WorkbenchPartTitle String getTitle(); @OnOpen void onOpen(); @Inject void setCaseCancelEvent(final Event<CaseCancelEvent> caseCancelEvent); @Inject void setCaseDestroyEvent(final Event<CaseClosedEvent> caseClosedEvent); @Inject void setCaseRefreshEvent(final Event<CaseRefreshEvent> caseRefreshEvent); static final String SCREEN_ID; }
@Test public void testReturnToCaseList() { presenter.backToList(); verify(placeManager).goTo(CaseInstanceListPerspective.PERSPECTIVE_ID); }