/** 
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getLockLocation
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setLockLocation
  */
 public function testGetSetLockLocation()
 {
     // Setup
     $expected = 'testLockLocation';
     $brokerProperties = new BrokerProperties();
     // Test
     $brokerProperties->setLockLocation($expected);
     $actual = $brokerProperties->getLockLocation();
     // Assert
     $this->assertEquals($expected, $actual);
 }
Ejemplo n.º 2
0
 /**
  * Gets the location of the lock.
  * 
  * @return string
  */
 public function getLockLocation()
 {
     return $this->_brokerProperties->getLockLocation();
 }