Метод | Описание | |
---|---|---|
__construct ( string $method, string $message = '%s' ) | Sets the value to compare against. | |
test ( string $compare ) : boolean | Tests the expectation. True if the method exists in the test object. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
public __construct ( string $method, string $message = '%s' ) | ||
$method | string | Method to check. |
$message | string | Customised message on failure. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
Результат | string | Description of success or failure. |