xref: /webtrees/tests/app/Elements/AbstractEventElementTestCase.php (revision 5a8afed46297e8105e3e5a33ce37e6a8e88bc79d)
1a26ec5edSGreg Roach<?php
2a26ec5edSGreg Roach
3a26ec5edSGreg Roach/**
4a26ec5edSGreg Roach * webtrees: online genealogy
5a26ec5edSGreg Roach * Copyright (C) 2023 webtrees development team
6a26ec5edSGreg Roach * This program is free software: you can redistribute it and/or modify
7a26ec5edSGreg Roach * it under the terms of the GNU General Public License as published by
8a26ec5edSGreg Roach * the Free Software Foundation, either version 3 of the License, or
9a26ec5edSGreg Roach * (at your option) any later version.
10a26ec5edSGreg Roach * This program is distributed in the hope that it will be useful,
11a26ec5edSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12a26ec5edSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13a26ec5edSGreg Roach * GNU General Public License for more details.
14a26ec5edSGreg Roach * You should have received a copy of the GNU General Public License
15a26ec5edSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16a26ec5edSGreg Roach */
17a26ec5edSGreg Roach
18a26ec5edSGreg Roachdeclare(strict_types=1);
19a26ec5edSGreg Roach
20a26ec5edSGreg Roachnamespace Fisharebest\Webtrees\Elements;
21a26ec5edSGreg Roach
22*202c018bSGreg Roachuse PHPUnit\Framework\Attributes\CoversClass;
23*202c018bSGreg Roach
24*202c018bSGreg Roach#[CoversClass(AbstractElement::class)]
25*202c018bSGreg Roach#[CoversClass(AbstractEventElement::class)]
26a26ec5edSGreg Roachclass AbstractEventElementTestCase extends AbstractElementTestCase
27a26ec5edSGreg Roach{
28a26ec5edSGreg Roach    /**
29a26ec5edSGreg Roach     * Standard tests for all elements.
30a26ec5edSGreg Roach     */
31a26ec5edSGreg Roach    public static function setupBeforeClass(): void
32a26ec5edSGreg Roach    {
33a26ec5edSGreg Roach        parent::setUpBeforeClass();
34a26ec5edSGreg Roach
35a26ec5edSGreg Roach        self::$element = new AbstractEventElement('label');
36a26ec5edSGreg Roach    }
37a26ec5edSGreg Roach}
38