<?php namespace App\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; final class UserControllerTest extends WebTestCase { public function testIndex(): void { $client = static::createClient(); $client->request('GET', '/user'); self::assertResponseIsSuccessful(); } }