/**
  * @covers WindowsAzure\Table\Models\UpdateEntityResult::setETag
  * @covers WindowsAzure\Table\Models\UpdateEntityResult::getETag
  */
 public function testSetETag()
 {
     // Setup
     $expected = '0x8CAFB82EFF70C46';
     $entity = new UpdateEntityResult();
     $entity->setETag($expected);
     // Test
     $entity->setETag($expected);
     // Assert
     $this->assertEquals($expected, $entity->getETag());
 }
 /**
  * Creates UpdateEntityResult from HTTP response headers.
  * 
  * @param array $headers The HTTP response headers.
  * 
  * @return \WindowsAzure\Table\Models\UpdateEntityResult 
  */
 public static function create($headers)
 {
     $result = new UpdateEntityResult();
     $clean = array_change_key_case($headers);
     $result->setETag($clean[Resources::ETAG]);
     return $result;
 }