timacdonald/callable-fake
A tiny PHP testing utility for faking/invoking callables. CallableFake lets you replace closures or invokable objects, record calls and arguments, assert usage, and return configured values—useful for isolating behavior in PHPUnit/Laravel tests.
Full Changelog: https://github.com/timacdonald/callable-fake/compare/v1.8.0...v1.9.0
Full Changelog: https://github.com/timacdonald/callable-fake/compare/v1.7.0...v1.8.0
assertCalledIndex methodHow can I help you explore Laravel packages today?