/**
  * @covers WindowsAzure\Blob\Models\SetContainerMetadataOptions::setAccessCondition
  */
 public function testSetAccessCondition()
 {
     // Setup
     $expected = AccessCondition::none();
     $result = new SetContainerMetadataOptions();
     // Test
     $result->setAccessCondition($expected);
     // Assert
     $this->assertEquals($expected, $result->getAccessCondition());
 }
 public static function getSetContainerMetadataOptions()
 {
     $ret = array();
     $options = new SetContainerMetadataOptions();
     array_push($ret, $options);
     $options = new SetContainerMetadataOptions();
     $options->setTimeout(10);
     array_push($ret, $options);
     $options = new SetContainerMetadataOptions();
     $options->setTimeout(-10);
     array_push($ret, $options);
     // Set Container Metadata only supports the If-Modified-Since access condition.
     // But easier to special-case If-Unmodified-Since in the test.
     foreach (self::getTemporalAccessConditions() as $ac) {
         $options = new SetContainerMetadataOptions();
         $options->setAccessCondition($ac);
         array_push($ret, $options);
     }
     return $ret;
 }