/** * @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); }
/** * Gets to. * * @return string */ public function getTo() { return $this->_brokerProperties->getTo(); }