@Test
public void testWriteSwagger_FooEndpointWithDescription() throws Exception {

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