EnterDeckTitlePresenter { public void updateDeckTitleInput() { activity.setDeckTitleText(newDeckContext.getDeckTitle()); } EnterDeckTitlePresenter(EnterDeckTitleView activity, NewDeckContext newDeckContext); void updateDeckTitleInput(); void inflateBitmaps(); void backButtonClicked(); void nextButtonClicked(); void deckTitleInputChanged(String deckTitle);  }
@Test public void shouldUpdateDeckTitleInput() { when(newDeckContext.getDeckTitle()).thenReturn(A_DECK_TITLE); presenter.updateDeckTitleInput(); verify(activity).setDeckTitleText(A_DECK_TITLE); }