class PHPUnit_Framework_AssertionFailedError

Thrown when an assertion failed.

@package PHPUnit @subpackage Framework @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link http://www.phpunit.de/ @since Class available since Release 2.0.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_AssertionFailedError

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/AssertionFailedError.php, line 57

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 1