@Test
public void testGetUserEntityDetailsError() {

    cloudUserDataStore.getUserEntityDetails(FAKE_USER_ID, mockUserDetailsDataStoreCallback);
    verify(mockRestApi).getUserById(anyInt(), restApiUserDetailsCallbackArgumentCaptor.capture());
    verifyZeroInteractions(mockUserDetailsDataStoreCallback);
    restApiUserDetailsCallbackArgumentCaptor.getValue().onError(any(Exception.class));
    verify(mockUserDetailsDataStoreCallback).onError(any(Exception.class));
    verifyZeroInteractions(mockUserCache);
}