Class ToPrint
Verify the output in the expected value.
$matcher = new ToPrint('foo');
$matcher->match(function() { echo 'foo' }); //return true
$matcher->match(function() { echo 'bar' }); //return false
- expect\matcher\ToPrint implements expect\matcher\ReportableMatcher
Final
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToPrint.php
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToPrint.php
public
|
|
public
boolean
|
|
public
|
#
reportFailed(
Report the reason for the failure of positive evaluation. |
public
|
#
reportNegativeFailed(
Report the reason for the failure of negative evaluation. |