PHP Класс PHPUnit_Framework_Constraint_IsIdentical, qcodo
Identical check is performed with PHP's === operator, the operator is
explained in detail at
{@url http://www.php.net/manual/en/types.comparisons.php}.
Two values are identical if they have the same value and are of the same
type.
The expected value is passed in the constructor.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Описание методов
__construct()
публичный Метод
evaluate()
публичный Метод
Evaluates the constraint for parameter $other. Returns TRUE if the
constraint is met, FALSE otherwise.
public fail ( mixed $other, string $description, boolean $not = FALSE ) |
$other |
mixed |
The value passed to evaluate() which failed the
constraint check. |
$description |
string |
A string with extra description of what was
going on while the evaluation failed. |
$not |
boolean |
Flag to indicate negation. |
toString()
публичный Метод
Returns a string representation of the constraint.
Описание свойств
$value защищенное свойство
protected mixed $value |
Результат |
mixed |
|