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
Expanded class hierarchy of PHPUnit_Framework_AssertionFailedError
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();
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPUnit_Framework_AssertionFailedError:: |
public | function |
Wrapper for getMessage() which is declared as final. Overrides PHPUnit_Framework_SelfDescribing:: |
1 |