getUri(); Assert::fail( "HTTP request blocked: $url. Use MockHttpTrait." ); } public function sendAsync( RequestInterface $request, array $options = [] ): PromiseInterface { $url = $request->getUri(); Assert::fail( "HTTP request blocked: $url. Use MockHttpTrait." ); } public function sendRequest( RequestInterface $request ): ResponseInterface { $url = $request->getUri(); Assert::fail( "HTTP request blocked: $url. Use MockHttpTrait." ); } public function request( string $method, $uri = '', array $options = [] ): ResponseInterface { Assert::fail( "HTTP request blocked: $uri. Use MockHttpTrait." ); } public function requestAsync( string $method, $uri = '', array $options = [] ): PromiseInterface { Assert::fail( "HTTP request blocked: $uri. Use MockHttpTrait." ); } }