| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 14 | public function testApply() |
||
| 15 | { |
||
| 16 | $injector = new Injector; |
||
| 17 | |||
| 18 | $auryn = new AurynConfiguration(); |
||
| 19 | $auryn->apply($injector); |
||
| 20 | |||
| 21 | $config = $injector->make(TwigResponderConfiguration::class); |
||
| 22 | $config->apply($injector); |
||
| 23 | |||
| 24 | $responder = $injector->make(FormattedResponder::class); |
||
| 25 | |||
| 26 | $this->assertArrayHasKey(TwigFormatter::class, $responder); |
||
| 27 | $this->assertSame(1.0, $responder[TwigFormatter::class]); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |