PHP Класс PHPUnit_Framework_Constraint_Exception, phpunit

Наследование: extends PHPUnit_Framework_Constraint
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$className string

Открытые методы

Метод Описание
__construct ( string $className )
toString ( ) : string Returns a string representation of the constraint.

Защищенные методы

Метод Описание
failureDescription ( mixed $other ) : string Returns the description of the failure
matches ( mixed $other ) : boolean Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

Описание методов

__construct() публичный Метод

public __construct ( string $className )
$className string

failureDescription() защищенный Метод

The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
protected failureDescription ( mixed $other ) : string
$other mixed Evaluated value or object.
Результат string

matches() защищенный Метод

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
protected matches ( mixed $other ) : boolean
$other mixed Value or object to evaluate.
Результат boolean

toString() публичный Метод

Returns a string representation of the constraint.
public toString ( ) : string
Результат string

Описание свойств

$className защищенное свойство

protected string $className
Результат string