    @Test
    public void testManageViewDisposable_WithDetachSingleDispose_ShouldDispose()
            throws Exception {

        mPresenter.create();
        mPresenter.attachView(mView);
        final TestObserver<Integer> testObserver = new TestObserver<>();

        mDisposableHandler.manageViewDisposable(testObserver);
        assertThat(testObserver.isDisposed()).isFalse();

        mPresenter.detachView();
        assertThat(testObserver.isDisposed()).isTrue();
    }