| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function test() |
||
| 21 | { |
||
| 22 | $command = $this->getMockBuilder(CommandInterface::class)->getMock(); |
||
| 23 | $qm = new SimpleQueueManager(); |
||
| 24 | $processorFactory = new ProcessorFactory(); |
||
| 25 | $driver = new DirectProcessingDriver(); |
||
| 26 | $driver->setProcessorFactory($processorFactory); |
||
| 27 | $qm->setSendDriver($driver); |
||
| 28 | $qm->sendCommand($command); |
||
| 29 | } |
||
| 30 | |||
| 39 |