| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function testFormatAndDispatch() |
||
| 44 | { |
||
| 45 | $formatter = $this->getMockFormatter(true); |
||
| 46 | $this->defaultChannel->setDataFormatter($formatter); |
||
| 47 | |||
| 48 | $dispatcher = $this->getMockDispatcher(true); |
||
| 49 | $this->defaultChannel->setDispatcher($dispatcher); |
||
| 50 | |||
| 51 | $dispatched = $this->defaultChannel->formatAndDispatch($this->notification); |
||
| 52 | |||
| 53 | $this->assertTrue($dispatched); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |