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

setCacheThrowsExceptionOnNonWritableDirectory() public method

    public function setCacheThrowsExceptionOnNonWritableDirectory()
    {
        $mockEnvironmentConfiguration = $this->getMockBuilder(EnvironmentConfiguration::class)->setMethods(null)->setConstructorArgs([__DIR__ . '~Testing', 'vfs://Some/NonExisting/Directory/', 1024])->getMock();
        $simpleFileBackend = new SimpleFileBackend($mockEnvironmentConfiguration, []);
        $simpleFileBackend->setCache($this->mockCacheFrontend);
        $this->getSimpleFileBackend();
    }