@Test
public void testWriteSwagger_FooEndpointDefaultContext() throws Exception {

  ApiConfig config = configLoader.loadConfiguration(ServiceContext.create(), FooEndpoint.class);
  Swagger swagger = generator.writeSwagger(ImmutableList.of(config), false, new SwaggerContext());
  Swagger expected = readExpectedAsSwagger("foo_endpoint_default_context.swagger");
  checkSwagger(expected, swagger);
}