| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function testDispatch() |
||
| 32 | { |
||
| 33 | $message = $this->getTestMessage(); |
||
| 34 | |||
| 35 | $dispatcher = $this->getMockDispatcher(true); |
||
| 36 | $this->defaultChannel->setDispatcher($dispatcher); |
||
| 37 | |||
| 38 | $dispatched = $this->defaultChannel->dispatch($message); |
||
| 39 | |||
| 40 | $this->assertTrue($dispatched); |
||
| 41 | } |
||
| 42 | |||
| 56 |