ReviewAndSaveDeckPresenter { public void backButtonClicked() { view.startActivityWithClass(EnterAuthorActivity.class); } ReviewAndSaveDeckPresenter(ReviewAndSaveDeckView view, NewDeckContext contextFromIntent, DeckRepository deckRepository); void backButtonClicked(); void inflateBitmap(); void saveButtonClicked(); void initializeView();  }
@Test public void shouldStartEnterAuthorActivityWhenBackButtonIsClicked() { presenter.backButtonClicked(); verify(view).startActivityWithClass(EnterAuthorActivity.class); }