content: /*
   * Copyright The OpenTelemetry Authors
   * SPDX-License-Identifier: Apache-2.0
   */
  
  package io.opentelemetry.javaagent.instrumentation.ratpack.server;
  
  import io.opentelemetry.instrumentation.ratpack.server.AbstractRatpackForkedHttpServerTest;
  import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension;
  import io.opentelemetry.instrumentation.testing.junit.http.HttpServerInstrumentationExtension;
  import io.opentelemetry.instrumentation.testing.junit.http.HttpServerTestOptions;
  import org.junit.jupiter.api.extension.RegisterExtension;
  import ratpack.server.RatpackServerSpec;
  
  class RatpackForkedHttpServerTest extends AbstractRatpackForkedHttpServerTest {
  
    @RegisterExtension
    public static final InstrumentationExtension testing =
        HttpServerInstrumentationExtension.forAgent();
  
    @Override
    protected void configure(RatpackServerSpec serverSpec) {}
  
    @Override
    protected void configure(HttpServerTestOptions options) {
      super.configure(options);
  
      options.setHasResponseCustomizer(endpoint -> true);
      options.setTestHttpPipelining(false);
    }
  }
  