You are here

public function PHPUnit_Framework_Constraint_ExceptionMessage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php \PHPUnit_Framework_Constraint_ExceptionMessage::__construct()

Parameters

string $expected:

Overrides PHPUnit_Framework_Constraint::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php, line 24

Class

PHPUnit_Framework_Constraint_ExceptionMessage
@since Class available since Release 3.6.6

Code

public function __construct($expected) {
  parent::__construct();
  $this->expectedMessage = $expected;
}