/** * Gets blob cache control. * * @return string. */ public function getBlobCacheControl() { return $this->_blobProperties->getCacheControl(); }
/** * @covers WindowsAzure\Blob\Models\BlobProperties::setCacheControl * @covers WindowsAzure\Blob\Models\BlobProperties::getCacheControl */ public function testSetCacheControl() { // Setup $expected = '0x8CAFB82EFF70C46'; $properties = new BlobProperties(); $properties->setCacheControl($expected); // Test $properties->setCacheControl($expected); // Assert $this->assertEquals($expected, $properties->getCacheControl()); }