3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * Thrown when an assertion failed.
14 * @since Class available since Release 2.0.0
16 class PHPUnit_Framework_AssertionFailedError extends PHPUnit_Framework_Exception implements PHPUnit_Framework_SelfDescribing
19 * Wrapper for getMessage() which is declared as final.
23 public function toString()
25 return $this->getMessage();