/** * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getSessionId * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setSessionId */ public function testGetSetSessionId() { // Setup $expected = 'testSessionId'; $brokerProperties = new BrokerProperties(); // Test $brokerProperties->setSessionId($expected); $actual = $brokerProperties->getSessionId(); // Assert $this->assertEquals($expected, $actual); }
/** * Gets the session ID. * * @return string */ public function getSessionId() { return $this->_brokerProperties->getSessionId(); }