Write utility methods in an abstract subclass of PHPUnit2_ Framework_TestCase and derive your test-case classes from that class. This is one of the easiest ways to extend PHPUnit.