TEST_F(HttpHealthCheckerImplTest, Http2CodecClient) {
  const std::string yaml = R"EOF(
    timeout: 1s
    interval: 1s
    no_traffic_interval: 5s
    interval_jitter: 1s
    unhealthy_threshold: 2
    healthy_threshold: 2
    http_health_check:
      service_name_matcher:
        prefix: locations
      path: /healthcheck
      codec_client_type: Http2
    )EOF";

  allocHealthChecker(yaml);
  addCompletionCallback();
  EXPECT_EQ(Http::CodecType::HTTP2, health_checker_->codecClientType());
}
TEST_F(HttpHealthCheckerImplTest, Http2CodecClient) {
  const std::string yaml = R"EOF(
    timeout: 1s
    interval: 1s
    no_traffic_interval: 5s
    interval_jitter: 1s
    unhealthy_threshold: 2
    healthy_threshold: 2
    http_health_check:
      service_name_matcher:
        prefix: locations
      path: /healthcheck
      codec_client_type: Http2
    )EOF";

  allocHealthChecker(yaml);
  addCompletionCallback();
  EXPECT_EQ(Http::CodecType::HTTP2, health_checker_->codecClientType());
}