@Test
public void testParameterDescription() throws Exception {

  @Api
  final class TestParameterDescription {
    public void foo(@Description("desc") String param) {}
  }
  ApiConfig config = createConfig(TestParameterDescription.class);
  annotationReader.loadEndpointMethods(serviceContext, TestParameterDescription.class,
      config.getApiClassConfig().getMethods());
  ApiMethodConfig methodConfig =
      Iterables.getOnlyElement(config.getApiClassConfig().getMethods().values());
  ApiParameterConfig parameterConfig =
      Iterables.getOnlyElement(methodConfig.getParameterConfigs());
  assertEquals("desc", parameterConfig.getDescription());
}