Using Mockery as a mocking framework with PHPUnit
A few days ago I was explaining mocking to a few colleagues. I came up with the following quick n dirty code to show them the elegance of Mockery as a mocking framework.
The code is straight-forward: it checks the health of a server using a tiny hear...
phpfour.hashnode.dev2 min read