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; }