Neos\Fusion\Tests\Unit\Core\ParserTest::objectManagerIsRegisteredCallback PHP Method

objectManagerIsRegisteredCallback() public method

Call back for mocking the object manager's isRegistered() method
    public function objectManagerIsRegisteredCallback()
    {
        $arguments = array_merge(func_get_args(), array($this->mockObjectManager));
        $objectName = array_shift($arguments);
        switch ($objectName) {
            case 'Neos\\Fusion\\Fixtures\\Text':
            case 'Neos\\Fusion\\Fixtures\\Page':
            case 'Neos\\Fusion\\Fixtures\\ContentArray':
            case 'Neos\\Fusion\\Fixtures\\ObjectWithArrayProperty':
            case 'Neos\\Fusion\\Processors\\WrapProcessor':
            case 'Neos\\Fusion\\Processors\\SubstringProcessor':
            case 'Neos\\Fusion\\Processors\\MultiplyProcessor':
            case 'TYPO3\\SomeOther\\Namespace\\MyWrapProcessor':
                return true;
            default:
                return false;
        }
    }