Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function testCreate() |
||
26 | { |
||
27 | $appConfig = new DefaultApplicationConfiguration([]); |
||
28 | $pluginConfig = new TwigPluginConfiguration($appConfig); |
||
29 | |||
30 | $envLoader = $this->createMock(LoaderProcessorInterface::class); |
||
31 | |||
32 | $envFactory = new EnvironmentFactory( |
||
33 | $pluginConfig, |
||
34 | $envLoader, |
||
35 | ); |
||
36 | |||
37 | $twigEnv = $envFactory->create(); |
||
38 | |||
39 | $this->assertInstanceOf(Environment::class, $twigEnv); |
||
40 | } |
||
42 |