@Test
public void getAccountDataFailsAndShowsErrorMessage() {

    stubDataManagerGetAccessToken(Single.<AccessToken>error(new RuntimeException()));
    mWelcomePresenter.getAccessToken("code");
    verify(mMockWelcomeMvpView).showLoadingState(true);
    verify(mMockWelcomeMvpView).showAccessTokenError();
    verify(mMockWelcomeMvpView, never()).launchMainActivity();
    verify(mMockWelcomeMvpView).showLoadingState(false);
}