markTestSkipped('Either AZURE_ACCOUNT, AZURE_KEY and/or AZURE_CONTAINER env variables are not defined.'); } $connection = sprintf('BlobEndpoint=http://%1$s.blob.core.windows.net/;AccountName=%1$s;AccountKey=%2$s', $account, $key); $this->container = uniqid($containerName); $this->adapter = new AzureBlobStorage(new BlobProxyFactory($connection), $this->container, true); $this->filesystem = new Filesystem($this->adapter); } public function tearDown() { if ($this->adapter === null) { return; } $this->adapter->deleteContainer($this->container); } }