| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | function it_gets_a_service(KernelInterface $kernel, ContainerInterface $container) |
||
| 32 | { |
||
| 33 | $service = new \stdClass(); |
||
| 34 | |||
| 35 | $kernel->getContainer()->willReturn($container); |
||
| 36 | $container->get('acme')->willReturn($service); |
||
| 37 | |||
| 38 | $this->getService('acme')->shouldReturn($service); |
||
| 39 | } |
||
| 40 | |||
| 49 |