Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class CalendarExtensionSpec extends ObjectBehavior |
||
13 | { |
||
14 | public function it_is_initializable() |
||
15 | { |
||
16 | $this->shouldHaveType(CalendarExtension::class); |
||
17 | } |
||
18 | |||
19 | public function it_should_set_parameters_correctly(ContainerBuilder $container) |
||
20 | { |
||
21 | $container->fileExists(Argument::type('string'))->willReturn(true); |
||
22 | $container->setParameter(Argument::type('string'), Argument::any())->will(function() { |
||
23 | return; |
||
24 | }); |
||
25 | $container->setDefinition(Argument::any(), Argument::any())->will(function() { |
||
26 | return; |
||
27 | }); |
||
28 | |||
29 | $configuration = []; |
||
30 | $this->load($configuration, $container); |
||
31 | } |
||
33 |