EnterDeckTitleActivity extends AddDeckActivity implements EnterDeckTitlePresenter.EnterDeckTitleView { @Override public void setDeckTitleText(String deckTitle) { deckTitleInput.setText(deckTitle); }  @Override void inflateView(); @Override void setBitmapsForActivity(); @Override void initStates(); @Override void updateNextButton(boolean buttonClickable, int buttonTextColor, int buttonArrow); @Override void setDeckTitleText(String deckTitle);  }
@Test public void setDeckTitleText() { String deckTitleText = "Some Text!"; activity.setDeckTitleText(deckTitleText); TextView deckTitleInput = findTextView(activity, R.id.deck_title_input); assertEquals(deckTitleText, deckTitleInput.getText().toString()); }