/** * @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); }
/** * Gets size in bytes. * * @return integer */ public function getSizeInBytes() { return $this->_topicDescription->getSizeInBytes(); }