Files
guides/projects/priceservice/vendor/symfony/maker-bundle/templates/test/KernelTestCase.tpl.php
2026-06-03 22:05:20 +02:00

18 lines
461 B
PHP

<?= "<?php\n" ?>
namespace <?= $namespace; ?>;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
class <?= $class_name ?> extends KernelTestCase
{
public function testSomething(): void
{
$kernel = self::bootKernel();
$this->assertSame('test', $kernel->getEnvironment());
// $routerService = static::getContainer()->get('router');
// $myCustomService = static::getContainer()->get(CustomService::class);
}
}