/**
  * @covers MicrosoftAzure\Storage\Blob\Models\SetBlobPropertiesResult::setETag
  * @covers MicrosoftAzure\Storage\Blob\Models\SetBlobPropertiesResult::getETag
  */
 public function testSetETag()
 {
     // Setup
     $expected = '0x8CAFB82EFF70C46';
     $prooperties = new SetBlobPropertiesResult();
     $prooperties->setETag($expected);
     // Test
     $prooperties->setETag($expected);
     // Assert
     $this->assertEquals($expected, $prooperties->getETag());
 }
 /**
  * Creates SetBlobPropertiesResult from response headers.
  * 
  * @param array $headers response headers
  * 
  * @return SetBlobPropertiesResult
  */
 public static function create($headers)
 {
     $result = new SetBlobPropertiesResult();
     $date = $headers[Resources::LAST_MODIFIED];
     $result->setLastModified(Utilities::rfc1123ToDateTime($date));
     $result->setETag($headers[Resources::ETAG]);
     if (array_key_exists(Resources::X_MS_BLOB_SEQUENCE_NUMBER, $headers)) {
         $sNumber = $headers[Resources::X_MS_BLOB_SEQUENCE_NUMBER];
         $result->setSequenceNumber(intval($sNumber));
     }
     return $result;
 }