  @Test public void testAttachView() {

    MvpBasePresenter<MvpView> presenter = new MvpBasePresenter<>();
    MvpView mvpView = new MvpView() {
    };

    Assert.assertFalse(presenter.isViewAttached());
    presenter.attachView(mvpView);
    Assert.assertTrue(presenter.isViewAttached());
  }