### Question:
HomePresenter extends BasePresenter<HomeContract.View> implements HomeContract.Presenter { @Override public HomeContract.View getView() { return super.getView(); } @Inject  HomePresenter(@NonNull HomeContract.Repository repository,
                         @NonNull BaseScheduler scheduler); @Override void fetchUsers(); @Override HomeContract.View getView();  }### Answer:
@Test public void attach_isNotNull_sucess(){ assertNotNull(mPresenter.getView()); }
@Test public void detachView_isNull_sucess(){ assertNotNull(mPresenter.getView()); mPresenter.detachView(); assertNull(mPresenter.getView()); }