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