PHP Architect · Vol 17, Issue 4 · April 2018
Easier Mocking with Mockery
by Robert Basic
Mockery tries to provide an easy to read and understand API, which is also versatile enough, so any scenario that might come up when working with mock objects in our test cases are covered. In this first part, we'll see how Mockery can be used to create different test doubles and how they fit into a test suite.
The full article is in PHP Architect Vol 17, Issue 4. Subscribe to read it and every new issue.