You are here

class PHPUnit_Framework_AssertionFailedError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/AssertionFailedError.php \PHPUnit_Framework_AssertionFailedError

Thrown when an assertion failed.

@since Class available since Release 2.0.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_AssertionFailedError

File

vendor/phpunit/phpunit/src/Framework/AssertionFailedError.php, line 16

View source
class PHPUnit_Framework_AssertionFailedError extends PHPUnit_Framework_Exception implements PHPUnit_Framework_SelfDescribing {

  /**
   * Wrapper for getMessage() which is declared as final.
   *
   * @return string
   */
  public function toString() {
    return $this
      ->getMessage();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PHPUnit_Framework_AssertionFailedError::toString public function Wrapper for getMessage() which is declared as final. Overrides PHPUnit_Framework_SelfDescribing::toString
PHPUnit_Framework_Exception::$serializableTrace protected property
PHPUnit_Framework_Exception::getSerializableTrace public function Returns the serializable trace (without 'args').
PHPUnit_Framework_Exception::__construct public function 4
PHPUnit_Framework_Exception::__sleep public function
PHPUnit_Framework_Exception::__toString public function 1