reecem/mocker
A lightweight Laravel-friendly mocking helper for PHP tests. Quickly define and swap mocks, set expectations, and control return values to simplify unit and feature testing. Designed to reduce boilerplate and keep test setup clean and readable.
Variables are no longer polluted between variable calls. #6
When calling an object that has an array assigned it will return whole the array as a string, see for more #5
See pull request #15
There is a slight bug introduced with this version as to the fact that the arrays returned after the first step are arrays and not instances of Mocked. Cannot assign values after assigning the first time.
ArrayObject$data->obj['arrayvalue']->anotherObjectFirst release of Mocker - Initial Release
Added for new features.Changed for changes in existing functionality.Deprecated for soon-to-be removed features.Removed for now removed features.Fixed for any bug fixes.Security in case of vulnerabilities.How can I help you explore Laravel packages today?