@Test public void onViewDetach() throws Exception { mMainPresenter.onViewDetach(); assertThat(mMainPresenter.getView(), instanceOf(DummyMainView.class)); }
@Override public void onViewDetach() { mView = mDummyMainView; }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewDetach() { mView = mDummyMainView; } }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewDetach() { mView = mDummyMainView; } MainPresenter(MainView mainView, AlumnosUseCase alumnosUseCase,
            Scheduler subscribeOnScheduler, Scheduler observeOnScheduler,
            CompositeDisposable subscripciones); }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewDetach() { mView = mDummyMainView; } MainPresenter(MainView mainView, AlumnosUseCase alumnosUseCase,
            Scheduler subscribeOnScheduler, Scheduler observeOnScheduler,
            CompositeDisposable subscripciones); @Override void onViewAttach(MainView view); @Override void onViewDetach(); @Override void onDestroy(); @Override MainView getView(); void agregarAlumno(); void actualizarAlumno(Alumno alumno); void obtenerAlumnos(); }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewDetach() { mView = mDummyMainView; } MainPresenter(MainView mainView, AlumnosUseCase alumnosUseCase,
            Scheduler subscribeOnScheduler, Scheduler observeOnScheduler,
            CompositeDisposable subscripciones); @Override void onViewAttach(MainView view); @Override void onViewDetach(); @Override void onDestroy(); @Override MainView getView(); void agregarAlumno(); void actualizarAlumno(Alumno alumno); void obtenerAlumnos();  }