@Test
public void getAccessTokenCompletesAndEmitsAccessToken() {

    AccessToken accessToken = TestDataFactory.makeAccessToken();
    stubMondoServiceGetAccessToken(Single.just(accessToken));
    TestSubscriber<AccessToken> testSubscriber = new TestSubscriber<>();
    mDataManager.getAccessToken("code").subscribe(testSubscriber);
    testSubscriber.assertCompleted();
    testSubscriber.assertValue(accessToken);
}