@Test public void onViewAttach() throws Exception { mMainPresenter = new MainPresenter(null, null, Schedulers.trampoline(), Schedulers.trampoline(), mSubscripciones); mMainPresenter.onViewAttach(mMainView); assertEquals(mMainView, mMainPresenter.getView()); }
@Override public void onViewAttach(MainView view) { mView = view; }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewAttach(MainView view) { mView = view; } }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewAttach(MainView view) { mView = view; } MainPresenter(MainView mainView, AlumnosUseCase alumnosUseCase,
            Scheduler subscribeOnScheduler, Scheduler observeOnScheduler,
            CompositeDisposable subscripciones); }
MainPresenter implements BasePresenter<MainView> { @Override public void onViewAttach(MainView view) { mView = view; } 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 onViewAttach(MainView view) { mView = view; } 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();  }