完整文档 使用专门针对Symfony / HttpClient的测试库为您的应用或SDK充电。 安装 composer require --dev --prefer-dist blastcloud/hybrid 用法示例 <?php use BlastCloud \ Hybrid \{ Expectation , UsesHybrid }; use Symfony \ Component \ HttpClient \ Response \ MockResponse ; use PHPUnit \ Framework \ TestCase ; class SomeTest extends