use Symfony\Bundle\TwigBundle\TwigBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\Kernel;
class EmptyAppTest extends TestCase
{ public function testBootEmptyApp() { $kernel =
new EmptyAppKernel('test', true
);
$kernel->
boot();
$this->
assertTrue($kernel->
getContainer()->
hasParameter('twig.default_path'
));
$this->
assertNotEmpty($kernel->
getContainer()->
getParameter('twig.default_path'
));
} protected function setUp(): void
{ $this->
deleteTempDir();
}