コード例 #1
0
 /** 
  * @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();
 }