$container->
register('twig.extension.yaml'
);
$container->
register('twig.extension.debug.stopwatch'
);
$container->
register('twig.extension.expression'
);
$nativeTwigLoader =
new Definition(FilesystemLoader::
class);
$nativeTwigLoader->
addMethodCall('addPath',
[]);
$container->
setDefinition('twig.loader.native_filesystem',
$nativeTwigLoader);
$templateIterator =
new Definition(TemplateIterator::
class,
[null, null, null
]);
$container->
setDefinition('twig.template_iterator',
$templateIterator);
$extensionPass =
new ExtensionPass();
$extensionPass->
process($container);
$this->
assertCount(1,
$nativeTwigLoader->
getMethodCalls());
}}