ShortifyPunit\ShortifyPunit::_isMethodStubbed PHP Méthode

_isMethodStubbed() protected static méthode

Checking if a method with specific arguments has been stubbed
protected static _isMethodStubbed ( $className, $instanceId, $methodName ) : boolean
$className
$instanceId
$methodName
Résultat boolean
    protected static function _isMethodStubbed($className, $instanceId, $methodName)
    {
        // check if instance of this method even exist
        if (!isset(self::$returnValues[$className][$instanceId][$methodName])) {
            return false;
        }
        return true;
    }