Neos\Cache\Tests\Unit\Backend\SimpleFileBackendTest::requireOnceDoesNotSwallowExceptionsOfTheIncludedFile PHP Method

requireOnceDoesNotSwallowExceptionsOfTheIncludedFile() public method

    public function requireOnceDoesNotSwallowExceptionsOfTheIncludedFile()
    {
        $entryIdentifier = 'SomePhpEntryWithException';
        $simpleFileBackend = $this->getSimpleFileBackend();
        $simpleFileBackend->set($entryIdentifier, '<?php throw new \\Exception(); ?>');
        $simpleFileBackend->requireOnce($entryIdentifier);
    }