19declare(strict_types=1);
23use PHPUnit\Framework\TestCase;
28 #[\PHPUnit\Framework\Attributes\DataProvider('properNames')]
32 $this->assertEquals($name, (
string) $n);
35 #[\PHPUnit\Framework\Attributes\DataProvider('improperNames')]
38 $this->expectException(\InvalidArgumentException::class);
45 [\ILIAS\Component\Tests::class],
53 [
'ILIAS \Component\Tests'],
54 [\ILIAS\Component::class]
testProperNames(string $name)
testImproperNames(string $name)