TestFailure.php Interfaces, Classes and Traits PHPUnit_Framework_TestFailure A TestFailure collects a failed test together with the caught exception.