Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | private function getDispatcher() |
||
26 | { |
||
27 | $dispatcher = $this |
||
28 | ->getMockBuilder('Symfony\Component\DependencyInjection\Definition') |
||
29 | ->setMethods(array('addMethodCall')) |
||
30 | ->getMock() |
||
31 | ; |
||
32 | $dispatcher |
||
33 | ->expects($this->once()) |
||
34 | ->method('addMethodCall') |
||
35 | ->with( |
||
36 | $this->equalTo('addSubscriber'), |
||
37 | $this->equalTo(array(new Reference('meup_tagcommander.datacollector_subscriber'))) |
||
38 | ) |
||
39 | ; |
||
40 | |||
41 | return $dispatcher; |
||
42 | } |
||
43 | |||
70 |