ShortifyPunit\ShortifyPunit::_isMethodStubbed PHP 메소드

_isMethodStubbed() 보호된 정적인 메소드

Checking if a method with specific arguments has been stubbed
protected static _isMethodStubbed ( $className, $instanceId, $methodName ) : boolean
$className
$instanceId
$methodName
리턴 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;
    }