/** * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getLabel * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setLabel */ public function testGetSetLabel() { // Setup $expected = 'testLabel'; $brokerProperties = new BrokerProperties(); // Test $brokerProperties->setLabel($expected); $actual = $brokerProperties->getLabel(); // Assert $this->assertEquals($expected, $actual); }
/** * Gets the label. * * @return string */ public function getLabel() { return $this->_brokerProperties->getLabel(); }