Level 88
I don't think you can do this with the default facade mock in Laravel at this point. Laravel only supports the basic spy functionality
Documentation: http://docs.mockery.io/en/latest/reference/spies.html
You can also mock the facade Redis yourself and perform all the checks you need. But of course, this is more work ;)
1 like