/** 
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getCorrelationId
  * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setCorrelationId
  */
 public function testGetSetCorrelationId()
 {
     // Setup
     $expected = 'testCorrelationId';
     $brokerProperties = new BrokerProperties();
     // Test
     $brokerProperties->setCorrelationId($expected);
     $actual = $brokerProperties->getCorrelationId();
     // Assert
     $this->assertEquals($expected, $actual);
 }
Ejemplo n.º 2
0
 /**
  * Gets the correlation ID.
  * 
  * @return string 
  */
 public function getCorrelationId()
 {
     return $this->_brokerProperties->getCorrelationId();
 }