PresenterLifeCycleLinker { public void initializePresenters() { for (RosiePresenter presenter : presenters) { presenter.initialize(); } }  void initializeLifeCycle(Object source, RosiePresenter.View view); void initializePresenters(); void updatePresenters(RosiePresenter.View view); void pausePresenters(); void destroyPresenters(); void registerPresenter(RosiePresenter presenter); void setView(RosiePresenter.View view);  }
@Test public void shouldCallAllRegisteredPresentersAreCalledWhenInitializeIsCalled() { PresenterLifeCycleLinker presenterLifeCycleLinker = givenAPresenterLifecycleLinker(anyPresenter1, anyPresenter2); presenterLifeCycleLinker.initializePresenters(); verify(anyPresenter1).initialize(); verify(anyPresenter2).initialize(); }