Note: This article was originally published at Planet PHP
on 29 December 2010.
I have used PHPUnit heavily now for the last 4 years. As anyone that is heavily involved in writing Unit Tests knows, test doubles (commonly referred to as mock objects) are a necessary part of your toolbox. The mocking options a Continue reading a'