. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Http\RequestHandlers; use Fig\Http\Message\StatusCodeInterface; use Fisharebest\Webtrees\TestCase; /** * Test UserAddPageTest class. * * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserAddPage */ class UserAddPageTest extends TestCase { protected static bool $uses_database = true; /** * @return void */ public function testHandler(): void { $handler = new UserAddPage(); $request = self::createRequest(); $response = $handler->handle($request); self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } }