@Test
public void writeConfigWithParameterizedTypeTransformerConfig() throws Exception {

  ApiConfig transformedApiConfig = configFactory.copy(apiConfig);
  transformedApiConfig.getSerializationConfig()
      .addSerializationConfig(ParameterizedTypeTransformer.class);
  final class Endpoint {
    @SuppressWarnings("unused")
    public ParameterizedBean get(@Named("date") String id) {
      return null;
    }
  }
  new ApiConfigAnnotationReader().loadEndpointMethods(
      serviceContext, Endpoint.class, transformedApiConfig.getApiClassConfig().getMethods());
  writer.writeConfig(Collections.singleton(transformedApiConfig));
}