EnterAuthorPresenter { public void backButtonClicked() { activity.startActivityWithClass(EnterDeckDestinationLanguagesActivity.class); } EnterAuthorPresenter(EnterAuthorView activity, NewDeckContext newDeckContext); void inflateBitmaps(); void initDeckAuthorInput(); void nextButtonClicked(); void backButtonClicked(); void deckAuthorInputChanged(String deckAuthor);  }
@Test public void shouldSaveDeckAuthorToContextAndStartPreviousActivityWhenBackButtonIsClicked() { presenter.backButtonClicked(); verify(activity).startActivityWithClass(EnterDeckDestinationLanguagesActivity.class); }