#6498·phpunit

不要依赖 `expects()` 来实现测试代理

作者: sebastianbergmann创建于 2026年2月8日更新于 2026年2月10日
标签type/refactoringfeature/test-doubles

测试双重 API 的 `method()` 方法的实现目前如下所示:

内容来源: sebastianbergmann/phpunit