Метод | Описание | |
---|---|---|
__construct ( mixed &$value, string $message = '%s' ) | Sets the reference value to compare against. | |
overlayMessage ( mixed $compare, SimpleDumper $dumper ) : string | Overlays the generated message onto the stored user message. | |
test ( mixed &$compare ) : boolean | Tests the expectation. True if it exactly references the held value. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
Метод | Описание | |
---|---|---|
getDumper ( ) : SimpleDumper | Accessor for the dumper. |
public __construct ( mixed &$value, string $message = '%s' ) | ||
$value | mixed | Test reference to match. |
$message | string | Customised message on failure. |
protected getDumper ( ) : SimpleDumper | ||
Результат | SimpleDumper | Current value dumper. |
public overlayMessage ( mixed $compare, SimpleDumper $dumper ) : string | ||
$compare | mixed | Comparison value. |
$dumper | SimpleDumper | For formatting the results. |
Результат | string | Description of success or failure. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
Результат | string | Description of success or failure. |