Tag Archives: testing

PHPUnit, Mocks and Closures

I like PHPUnit, and I like closures, but haven’t found many useful cases for them (closures) in PHP yet. Just recently I came across a situation where I needed a closure when working with PHPUnit Mock objects. For those not familiar with Mock Objects in regards to testing, here’s a link. It’s fairly common when [...]

Also tagged , , | Leave a comment

Page optimized by WP Minify WordPress Plugin