/** * @covers WindowsAzure\ServiceBus\Models\BrokeredMessage::getSessionId * @covers WindowsAzure\ServiceBus\Models\BrokeredMessage::setSessionId */ public function testGetSetSessionId() { // Setup $expected = 'testSessionId'; $brokeredMessage = new BrokeredMessage(); // Test $brokeredMessage->setSessionId($expected); $actual = $brokeredMessage->getSessionId(); // Assert $this->assertEquals($expected, $actual); }