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

requireOnceDoesNotSwallowPhpWarningsOfTheIncludedFile() public method

    public function requireOnceDoesNotSwallowPhpWarningsOfTheIncludedFile()
    {
        $entryIdentifier = 'SomePhpEntryWithPhpWarning';
        $simpleFileBackend = $this->getSimpleFileBackend();
        $simpleFileBackend->set($entryIdentifier, '<?php trigger_error("Warning!", E_WARNING); ?>');
        $simpleFileBackend->requireOnce($entryIdentifier);
    }