PHPSpec – Defining custom inline matchers
At first I didn’t get PHPSpec’s “inline matchers” but have since discovered how to use them for matching custom conditions in your tests.
It’s amazing how far a few simple examples will take you, and thanks to kind-hearted folk on the net, I’ve had my eyes opened and hopefully can provide some useful examples for other people.