@Test
public void testValidateAuthenticator() throws Exception {

  config.getApiClassConfig().getMethods()
      .get(methodToEndpointMethod(TestEndpoint.class.getMethod("getResultNoParams")))
      .setAuthenticators(
          ImmutableList.<Class<? extends Authenticator>>of(PassAuthenticator.class));
  validator.validate(config);
}