/** * @param string $fileIdentifier * @param string $contents * @return void */ public function setFileContents($fileIdentifier, $contents) { $this->blobRestProxy->createBlockBlob($this->container, $fileIdentifier, $contents); }
/** * @return void */ public function testReplaceFileCallsCreate() { $this->storageDriver->replaceFile('foo/bar/bum.txt', $this->testFilePath); $this->blobRestProxy->createBlockBlob(Arg::any(), 'foo/bar/bum.txt', $this->testContent, Arg::any())->shouldHaveBeenCalled(); }