Inheritance: extends Exceptio\Exception
 /**
  * Create a new assertion failure exception.
  *
  * @param string $description The failure description.
  *
  * @throws Exception If this recorder throws exceptions.
  */
 public function createFailure($description)
 {
     $flags = 0;
     if (defined('DEBUG_BACKTRACE_IGNORE_ARGS')) {
         $flags = DEBUG_BACKTRACE_IGNORE_ARGS;
     }
     $call = AssertionException::tracePhonyCall(debug_backtrace($flags));
     if ($call && isset($call['file']) && isset($call['line'])) {
         $description .= PHP_EOL . "at [{$call['file']} line {$call['line']}]";
     }
     $this->simpletestContext->getReporter()->paintFail(preg_replace('/(\\R)/', '$1   ', $description));
 }
 /**
  * Construct a new PHPUnit assertion exception.
  *
  * @param string $description The failure description.
  */
 public function __construct($description)
 {
     AssertionException::trim($this);
     parent::__construct($description);
 }