/** 
  * @covers WindowsAzure\ServiceBus\Models\TopicDescription::getMaxSizeInMegabytes
  * @covers WindowsAzure\ServiceBus\Models\TopicDescription::setMaxSizeInMegabytes
  */
 public function testGetSetMaxSizeInMegabytes()
 {
     // Setup
     $expected = 'testMaxSizeInMegabytes';
     $topicDescription = new TopicDescription();
     // Test
     $topicDescription->setMaxSizeInMegabytes($expected);
     $actual = $topicDescription->getMaxSizeInMegabytes();
     // Assert
     $this->assertEquals($expected, $actual);
 }
예제 #2
0
 /**
  * Gets the msax size in mega bytes. 
  * 
  * @return integer
  */
 public function getMaxSizeInMegabytes()
 {
     return $this->_topicDescription->getMaxSizeInMegabytes();
 }