    @Test
    public void getAccessTokenSucceedsAndLaunchesMainActivity() {

        AccessToken accessToken = TestDataFactory.makeAccessToken();
        stubDataManagerGetAccessToken(Single.just(accessToken));
        mWelcomePresenter.getAccessToken("code");

        verify(mMockWelcomeMvpView).showLoadingState(true);
        verify(mMockWelcomeMvpView).launchMainActivity();
        verify(mMockWelcomeMvpView).showLoadingState(false);
    }