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