#6498·phpunit不要依赖 `expects()` 来实现测试代理作者: sebastianbergmann创建于 2026年2月8日更新于 2026年2月10日标签type/refactoringfeature/test-doubles测试双重 API 的 `method()` 方法的实现目前如下所示:内容来源: sebastianbergmann/phpunit查看 GitHub 原文在 GitHub 查看讨论