You are here

AssertionFailedError.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/AssertionFailedError.php

File

vendor/phpunit/phpunit/src/Framework/AssertionFailedError.php
View source
<?php

/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Thrown when an assertion failed.
 *
 * @since Class available since Release 2.0.0
 */
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();
  }

}

Classes

Namesort descending Description
PHPUnit_Framework_AssertionFailedError Thrown when an assertion failed.