@Test public void attach() throws Exception { firstPresenter.updateText(TEST_VALUE); firstPresenter.attach(firstFragment); Mockito.verify(firstFragment, Mockito.only()).initialize(TEST_VALUE); }
public void attach(FirstFragment fragment) { firstFragment = fragment; firstFragment.initialize(text); }
FirstPresenter { public void attach(FirstFragment fragment) { firstFragment = fragment; firstFragment.initialize(text); } }
FirstPresenter { public void attach(FirstFragment fragment) { firstFragment = fragment; firstFragment.initialize(text); }  }
FirstPresenter { public void attach(FirstFragment fragment) { firstFragment = fragment; firstFragment.initialize(text); }  void attach(FirstFragment fragment); boolean hasView(); void detach(FirstFragment fragment); void updateText(String text); void restore(StateBundle stateBundle); StateBundle persist(); }
FirstPresenter { public void attach(FirstFragment fragment) { firstFragment = fragment; firstFragment.initialize(text); }  void attach(FirstFragment fragment); boolean hasView(); void detach(FirstFragment fragment); void updateText(String text); void restore(StateBundle stateBundle); StateBundle persist();  }