callApi('GET', '/health'); self::assertTrue($response->hasHeader('X-Request-Id')); } #[Test] public function keepsProvidedRequestId(): void { $response = $this->callApi('GET', '/health', [ RequestOptions::HEADERS => [ 'X-Request-Id' => 'foobar', ], ]); self::assertEquals('foobar', $response->hasHeader('X-Request-Id')); } }