PHPUnit_Framework_TestResult $result:
protected function printErrors(PHPUnit_Framework_TestResult $result) { $this ->printDefects($result ->errors(), $result ->errorCount(), 'error'); }