Laravel News 中文 关注 使用 Double 库在测试中模拟 PHP 类 Double 是由 Jason McCreary 开发的一款 PHP 模拟库,它为模拟对象(mocks)、间谍对象(spies)和部分模拟(partials)提供统一的 API,并包含显示实际调用日志的失败信息。 Mock PHP Classes in Tests With the Double Library laravel-news.com Laravel News 中文 RSS thenote.app