  @Test(expected = UnexpectedAuthException.class)
  public void testGetUserAuthDataRemoteException() throws RemoteApiException {

    RemoteApiException apiException = new RemoteApiException(500, "internal server error");
    mockRemoteExceptionToFind(apiException);

    apiClient.getUserAuthData(MOCK_SESSION, MOCK_INTEGRATION_ID, MOCK_USER_ID, MOCK_URL);
  }