Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function setQueue() |
||
17 | { |
||
18 | $mockQueue = $this->getObjectForTrait('\TraderInteractive\Mongo\QueueAwareTrait'); |
||
19 | $mongoQueue = $this->getMockBuilder('\\TraderInteractive\\Mongo\\QueueInterface')->getMock(); |
||
20 | $mockQueue->setQueue($mongoQueue); |
||
21 | $this->assertEquals($mongoQueue, $mockQueue->getQueue()); |
||
22 | } |
||
40 |