/**
  * Sets header type
  * 
  * @param string $headerType can be one of Resources
  * 
  * @return none.
  */
 public function setHeader($headerType)
 {
     $valid = AccessCondition::isValid($headerType);
     Validate::isTrue($valid, Resources::INVALID_HT_MSG);
     $this->_header = $headerType;
 }
 /**
  * @covers WindowsAzure\Blob\Models\AccessCondition::isValid
  */
 public function testIsValidWithInvalid()
 {
     // Test
     $actual = AccessCondition::isValid('1234');
     // Assert
     $this->assertFalse($actual);
 }