Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
13 | public function testApply() |
||
14 | { |
||
15 | $injector = new Injector; |
||
16 | |||
17 | foreach ($this->getConfigurations() as $config) { |
||
18 | $instance = $injector->make($config); |
||
19 | $instance->apply($injector); |
||
20 | } |
||
21 | |||
22 | $responder = $injector->make(FormattedResponder::class); |
||
23 | |||
24 | $this->assertArrayHasKey(TwigFormatter::class, $responder); |
||
25 | $this->assertSame(1.0, $responder[TwigFormatter::class]); |
||
26 | } |
||
27 | |||
36 |