18 lines
461 B
PHP
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);
|
|
}
|
|
}
|