userController = new UserController(); } public function testLogout(): void { $client = static::createClient(); $client->request('GET', '/user/logout'); $this->assertEquals(200, $client->getResponse()->getStatusCode()); } public function testLogin(): void { $client = static::createClient(); $client->request('GET', '/login'); $this->assertEquals(200, $client->getResponse()->getStatusCode()); } public function testRegister(): void { $client = static::createClient(); $client->request('GET', '/user/register'); $this->assertEquals(200, $client->getResponse()->getStatusCode()); } }