public function addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time) { if ($test instanceof WebTestCasePlus && !is_null($test->getCurrentResponse())) { $this->dumpResponse('failure', get_class($test), $test->getName(), $test->getCurrentResponse()); } }