/** 
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getTo
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setTo
  */
 public function testGetSetTo()
 {
     // Setup
     $expected = 'testTo';
     $brokerProperties = new BrokerProperties();
     // Test
     $brokerProperties->setTo($expected);
     $actual = $brokerProperties->getTo();
     // Assert
     $this->assertEquals($expected, $actual);
 }
Ejemplo n.º 2
0
 /**
  * Gets to.     
  * 
  * @return string
  */
 public function getTo()
 {
     return $this->_brokerProperties->getTo();
 }