Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | SimpleDumper | Current value dumper. |
public overlayMessage ( mixed $compare, SimpleDumper $dumper ) : string | ||
$compare | mixed | Comparison value. |
$dumper | SimpleDumper | For formatting the results. |
Résultat | string | Description of success or failure. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
Résultat | string | Description of success or failure. |