__construct() public method

Initialises with the expected value and the actual value.
public __construct ( mixed $expected, mixed $actual, boolean $identical = FALSE, string $message = '' )
$expected mixed Expected value retrieved.
$actual mixed Actual value retrieved.
$identical boolean
$message string A string which is prefixed on all returned lines in the difference output.
Ejemplo n.º 1
0
 /**
  * Initialises with the expected value and the actual value.
  *
  * @param mixed $expected Expected value retrieved.
  * @param mixed $actual Actual value retrieved.
  * @param string $message A string which is prefixed on all returned lines
  *                       in the difference output.
  * @param boolean $expectedIsType
  */
 public function __construct($expected, $actual, $message = '', $expectedIsType = FALSE)
 {
     parent::__construct($expected, $actual, $message);
     $this->expectedIsType = $expectedIsType;
 }