DominionEnterprisesTest\Mongo\QueueAwareTraitTest::getQueue PHP Method

getQueue() public method

Verify basic behavior of getQueue().
public getQueue ( ) : void
return void
    public function getQueue()
    {
        $mockQueue = $this->getObjectForTrait('\\DominionEnterprises\\Mongo\\QueueAwareTrait');
        $this->assertNull($mockQueue->getQueue());
        $mongoQueue = $this->getMock('\\DominionEnterprises\\Mongo\\QueueInterface');
        $mockQueue->setQueue($mongoQueue);
        $this->assertEquals($mongoQueue, $mockQueue->getQueue());
    }
QueueAwareTraitTest