@Test
public void synchronouslyRefreshCognitoTokenReturnsNullUserResponse() {

    Mockito.when(meResponse.getUser()).thenReturn(null);
    Mockito.when(identityManager.getMe()).thenReturn(Observable.just(meResponse));
    assertEquals(null, cognitoIdentityProvider.synchronouslyRefreshCognitoToken());
}