LineasCercanasPresenter { public void initialize(View view) { this.view = view; view.showLoading(); } LineasCercanasPresenter(LocationProvider locationProvider, ObtainLineasCercanasAction obtainLineasCercanasAction); void initialize(View view); void update(); void pause();  }
@Test public void shows_loading_when_initialized() throws Exception { presenter.initialize(view); verify(view).showLoading(); }