/** * @param PHPUnit_Framework_TestFailure $defect * @param int $count */ protected function printDefectHeader(PHPUnit_Framework_TestFailure $defect, $count) { $this->write(sprintf("\n%d) %s\n", $count, $defect->getTestName())); }