Fix bug in style changes for the Use cases on the live site.
[yaffs-website] / vendor / phpunit / phpunit / src / Framework / AssertionFailedError.php
1 <?php
2 /*
3  * This file is part of PHPUnit.
4  *
5  * (c) Sebastian Bergmann <sebastian@phpunit.de>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  * Thrown when an assertion failed.
13  *
14  * @since Class available since Release 2.0.0
15  */
16 class PHPUnit_Framework_AssertionFailedError extends PHPUnit_Framework_Exception implements PHPUnit_Framework_SelfDescribing
17 {
18     /**
19      * Wrapper for getMessage() which is declared as final.
20      *
21      * @return string
22      */
23     public function toString()
24     {
25         return $this->getMessage();
26     }
27 }