String accessToken = getGoogleAccessToken(nonAdminTestingAccountEmail, nonAdminTestingAccountPw,
oauthClientId, oauthRedirectUri, SCOPE_USER);
String multiScope = SCOPE_USER + " " + SCOPE_PROFILE;
String response = invokeMethodOnServer(url, "getEmail", accessToken, multiScope);
OAuthServletAnswer answer = new OAuthServletAnswer(response);
String expectedException = InvalidOAuthParametersException.class.getName();
assertTrue("Multiple scopes should not match, expected " + expectedException + ", but was " + answer.getReturnVal(),
answer.getReturnVal().contains(expectedException));
}