@Test
public void testGetOAuth2UserAppEngineDevClientIdNotAllowed() throws ServiceUnavailableException {

  System.setProperty(EnvUtil.ENV_APPENGINE_RUNTIME, "Developement");
  when(config.getScopeExpression()).thenReturn(AuthScopeExpressions.interpret(SCOPES));
  when(config.getClientIds()).thenReturn(ImmutableList.of("clientId2"));
  assertNull(authenticator.getOAuth2User(request, config));
}