/**
  * @covers WindowsAzure\Queue\Models\WindowsAzureQueueMessage::setDequeueCount
  */
 public function testSetDequeueCount()
 {
     // Setup
     $azureQueueMessage = new WindowsAzureQueueMessage();
     $expected = 1;
     // Test
     $azureQueueMessage->setDequeueCount($expected);
     // Assert
     $actual = $azureQueueMessage->getDequeueCount();
     $this->assertEquals($expected, $actual);
 }
 /**
  * Get the number of times the job has been attempted.
  *
  * @return int
  */
 public function attempts()
 {
     return $this->job->getDequeueCount();
 }