ShortifyPunit\ShortifyPunit::_isMethodStubbed PHP Method

_isMethodStubbed() protected static method

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