Exemplo n.º 1
0
 protected function createMatcher()
 {
     return Hamcrest_Core_IsTypeOf::typeOf('integer');
 }
Exemplo n.º 2
0
/**
 * Is the value a particular built-in type?
 */
function typeOf($theType)
{
    require_once 'Hamcrest/Core/IsTypeOf.php';
    return Hamcrest_Core_IsTypeOf::typeOf($theType);
}