Ejemplo n.º 1
0
 protected function createMatcher()
 {
     return Hamcrest_Core_IsIdentical::identicalTo('irrelevant');
 }
Ejemplo n.º 2
0
/**
 * Tests of the value is identical to $value as tested by the "===" operator.
 */
function identicalTo($value)
{
    require_once 'Hamcrest/Core/IsIdentical.php';
    return Hamcrest_Core_IsIdentical::identicalTo($value);
}