xref: /webtrees/tests/app/Module/InteractiveTree/TreeViewTest.php (revision 5a8afed46297e8105e3e5a33ce37e6a8e88bc79d)
13763c3f2SGreg Roach<?php
23976b470SGreg Roach
33763c3f2SGreg Roach/**
43763c3f2SGreg Roach * webtrees: online genealogy
5d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
63763c3f2SGreg Roach * This program is free software: you can redistribute it and/or modify
73763c3f2SGreg Roach * it under the terms of the GNU General Public License as published by
83763c3f2SGreg Roach * the Free Software Foundation, either version 3 of the License, or
93763c3f2SGreg Roach * (at your option) any later version.
103763c3f2SGreg Roach * This program is distributed in the hope that it will be useful,
113763c3f2SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
123763c3f2SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
133763c3f2SGreg Roach * GNU General Public License for more details.
143763c3f2SGreg Roach * You should have received a copy of the GNU General Public License
1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
163763c3f2SGreg Roach */
17fcfa147eSGreg Roach
18e7f56f2aSGreg Roachdeclare(strict_types=1);
19e7f56f2aSGreg Roach
2084e2cf4eSGreg Roachnamespace Fisharebest\Webtrees\Module\InteractiveTree;
213763c3f2SGreg Roach
223cfcc809SGreg Roachuse Fisharebest\Webtrees\TestCase;
23*202c018bSGreg Roachuse PHPUnit\Framework\Attributes\CoversClass;
243cfcc809SGreg Roach
25*202c018bSGreg Roach#[CoversClass(TreeView::class)]
263cfcc809SGreg Roachclass TreeViewTest extends TestCase
27c1010edaSGreg Roach{
283763c3f2SGreg Roach    /**
293763c3f2SGreg Roach     * Test that the class exists
303763c3f2SGreg Roach     */
319b802b22SGreg Roach    public function testClassExists(): void
32c1010edaSGreg Roach    {
335e933c21SGreg Roach        self::assertTrue(class_exists(TreeView::class));
343763c3f2SGreg Roach    }
353763c3f2SGreg Roach}
36