[ Content | View menu ]

PHPUnit getMock Method Signature

Mark Mzyk June 16, 2011

In writing unit tests for PHP, I normally use PHPUnit. I frequently use mocks, but forget the params for the getMock call after the first two arguments, as I don’t use the rest frequently. Looking up the method signature through Google is frustratingly difficult, so here it is for future reference. PHPUnit getMock takes a […]