xref: /webtrees/tests/app/Elements/UidTest.php (revision 202c018b592d5a516e4a465dc6dc515f3be37399)
1701f5d18SGreg Roach<?php
2701f5d18SGreg Roach
3701f5d18SGreg Roach/**
4701f5d18SGreg Roach * webtrees: online genealogy
5d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
6701f5d18SGreg Roach * This program is free software: you can redistribute it and/or modify
7701f5d18SGreg Roach * it under the terms of the GNU General Public License as published by
8701f5d18SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9701f5d18SGreg Roach * (at your option) any later version.
10701f5d18SGreg Roach * This program is distributed in the hope that it will be useful,
11701f5d18SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12701f5d18SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13701f5d18SGreg Roach * GNU General Public License for more details.
14701f5d18SGreg Roach * You should have received a copy of the GNU General Public License
15701f5d18SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16701f5d18SGreg Roach */
17701f5d18SGreg Roach
18701f5d18SGreg Roachdeclare(strict_types=1);
19701f5d18SGreg Roach
20701f5d18SGreg Roachnamespace Fisharebest\Webtrees\Elements;
21701f5d18SGreg Roach
22*202c018bSGreg Roachuse PHPUnit\Framework\Attributes\CoversClass;
23*202c018bSGreg Roach
24*202c018bSGreg Roach
25*202c018bSGreg Roach#[CoversClass(AbstractElement::class)]
26*202c018bSGreg Roach#[CoversClass(Uid::class)]
27b66f5d1aSGreg Roachclass UidTest extends AbstractElementTestCase
28701f5d18SGreg Roach{
29701f5d18SGreg Roach    /**
30701f5d18SGreg Roach     * Standard tests for all elements.
31701f5d18SGreg Roach     */
32701f5d18SGreg Roach    public static function setupBeforeClass(): void
33701f5d18SGreg Roach    {
34701f5d18SGreg Roach        parent::setUpBeforeClass();
35701f5d18SGreg Roach
36701f5d18SGreg Roach        self::$element = new PafUid('label');
37701f5d18SGreg Roach    }
38701f5d18SGreg Roach}
39