コード例 #1
0
 /** 
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getLockedUntilUtc
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setLockedUntilUtc
  */
 public function testGetSetLockedUntilUtc()
 {
     // Setup
     $expected = 'testLockedUntilUtc';
     $brokerProperties = new BrokerProperties();
     // Test
     $brokerProperties->setLockedUntilUtc($expected);
     $actual = $brokerProperties->getLockedUntilUtc();
     // Assert
     $this->assertEquals($expected, $actual);
 }
コード例 #2
0
 /**
  * Gets the time of locked until UTC.
  * 
  * @return string
  */
 public function getLockedUntilUtc()
 {
     return $this->_brokerProperties->getLockedUntilUtc();
 }