MGDigital\BusQue\Implementation::getQueueDriver PHP Method

getQueueDriver() public method

public getQueueDriver ( ) : MGDigital\BusQue\QueueDriverInterface
return MGDigital\BusQue\QueueDriverInterface
    public function getQueueDriver() : QueueDriverInterface
    {
        return $this->queueDriver;
    }

Usage Example

 /**
  * @Then the queue should have been deleted
  */
 public function theQueueShouldHaveBeenDeleted()
 {
     $queueNames = $this->implementation->getQueueDriver()->getQueueNames();
     \PHPUnit_Framework_Assert::assertFalse(in_array('test_queue', $queueNames));
 }