@Test
public void testWriteSwagger_GoogleAuthEndpoint() throws Exception {

  ApiConfig config =
      configLoader.loadConfiguration(ServiceContext.create(), GoogleAuthEndpoint.class);
  Swagger swagger = generator.writeSwagger(ImmutableList.of(config), true, context);
  Swagger expected = readExpectedAsSwagger("google_auth.swagger");
  checkSwagger(expected, swagger);
}