/** * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::getDeliveryCount * @covers WindowsAzure\ServiceBus\Models\BrokerProperties::setDeliveryCount */ public function testGetSetDeliveryCount() { // Setup $expected = 100; $brokerProperties = new BrokerProperties(); // Test $brokerProperties->setDeliveryCount($expected); $actual = $brokerProperties->getDeliveryCount(); // Assert $this->assertEquals($expected, $actual); }
/** * Gets the delivery count. * * @return integer */ public function getDeliveryCount() { return $this->_brokerProperties->getDeliveryCount(); }