/** 
  * @covers WindowsAzure\ServiceBus\Models\TopicDescription::getDuplicateDetectionHistoryTimeWindow
  * @covers WindowsAzure\ServiceBus\Models\TopicDescription::setDuplicateDetectionHistoryTimeWindow
  */
 public function testGetSetDuplicateDetectionHistoryTimeWindow()
 {
     // Setup
     $expected = 'testDuplicateDetectionHistoryTimeWindow';
     $topicDescription = new TopicDescription();
     // Test
     $topicDescription->setDuplicateDetectionHistoryTimeWindow($expected);
     $actual = $topicDescription->getDuplicateDetectionHistoryTimeWindow();
     // Assert
     $this->assertEquals($expected, $actual);
 }
Exemplo n.º 2
0
 /**
  * Gets duplicate detection history time window. 
  * 
  * @return string
  */
 public function getDuplicateDetectionHistoryTimeWindow()
 {
     return $this->_topicDescription->getDuplicateDetectionHistoryTimeWindow();
 }