EnterDeckDestinationPresenter { public void addNewDestinationLanguageClicked() { view.startActivityForResult(LanguageSelectorActivity.class, REQUEST_CODE); } EnterDeckDestinationPresenter(EnterDeckDestinationView view, NewDeckContext contextFromIntent); void setBitmaps(); void deleteLanguage(String language); void newLanguageSelected(String selectedLanguage); void nextButtonClicked(); void backButtonClicked(); void refreshView(); void addNewDestinationLanguageClicked();  }
@Test public void shouldStartLangaugeSelectorActivityForResultWhenAddingANewLanguage() { presenter.addNewDestinationLanguageClicked(); int requestCode = 0; verify(view).startActivityForResult(LanguageSelectorActivity.class, requestCode); }