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 */
14class PHPUnit_Framework_AssertionFailedError extends PHPUnit_Framework_Exception implements PHPUnit_Framework_SelfDescribing
15{
16    /**
17     * Wrapper for getMessage() which is declared as final.
18     *
19     * @return string
20     */
21    public function toString()
22    {
23        return $this->getMessage();
24    }
25}
26