YTest is a PHP unit-testing library relying on runkit, and designed to work as a complement to PHPUnit. It mainly allows to stub private and static methods.