bandwidthThrottle\tokenBucket\storage\FileStorageTest::testRemoveFails PHP Метод

testRemoveFails() публичный Метод

Tests deleting fails.
public testRemoveFails ( )
    public function testRemoveFails()
    {
        $data = new vfsStreamFile("data");
        $root = vfsStream::setup('test');
        $root->chmod(0);
        $root->addChild($data);
        $storage = new FileStorage(vfsStream::url("test/data"));
        $storage->remove();
    }