ImmutableMap.of("OAUTH_SERVICE_NAME", SERVICE_NAME, "OAUTH_TOKEN_NAME", TOKEN_NAME,
"OAUTH_USE_TOKEN", "always"));
replay(authInfo);
String userId = "user id";
SecurityToken securityToken = new BasicSecurityToken(
userId, userId, "", "", APP_URI.toString(), MODULE_ID, CONTAINER_NAME, null, null);
HttpRequest request = new HttpRequest(DEFAULT_URI)
.setAuthType(AuthType.SIGNED)
.setOAuthArguments(new OAuthArguments(authInfo))