EnterDeckSourceLanguagePresenter { public void backButtonClicked() { activity.startActivityWithClass(EnterDeckTitleActivity.class); } EnterDeckSourceLanguagePresenter(EnterDeckSourceLanguageView activity, NewDeckContext newDeckContext); void inflateBitmaps(); void newSourceLanguageSelected(int resultCode, Intent data); void initSourceLanguage(); void nextButtonClicked(); void backButtonClicked(); void sourceLanguageClicked();  }
@Test public void shouldStartEnterDeckTitleActivityWhenBackButtonClicked() { presenter.backButtonClicked(); verify(activity).startActivityWithClass(EnterDeckTitleActivity.class); }