EnterDeckSourceLanguagePresenter { public void sourceLanguageClicked() { activity.startActivityForResult(LanguageSelectorActivity.class, REQUEST_CODE); } EnterDeckSourceLanguagePresenter(EnterDeckSourceLanguageView activity, NewDeckContext newDeckContext); void inflateBitmaps(); void newSourceLanguageSelected(int resultCode, Intent data); void initSourceLanguage(); void nextButtonClicked(); void backButtonClicked(); void sourceLanguageClicked();  }
@Test public void shouldStartLanguageSelectorActivityForAResultWhenLanguageIsClicked() { presenter.sourceLanguageClicked(); verify(activity).startActivityForResult(LanguageSelectorActivity.class, 0); }