Definition at line 26 of file NameTest.php.
◆ improperNames()
static ILIAS\Component\Tests\Dependencies\NameTest::improperNames |
( |
| ) |
|
|
static |
Definition at line 50 of file NameTest.php.
50 : array
51 {
52 return [
53 ['ILIAS \Component\Tests'],
54 [\ILIAS\Component::class]
55 ];
56 }
◆ properNames()
static ILIAS\Component\Tests\Dependencies\NameTest::properNames |
( |
| ) |
|
|
static |
Definition at line 42 of file NameTest.php.
42 : array
43 {
44 return [
45 [\ILIAS\Component\Tests::class],
46 [\Foo\Bar\Baz::class]
47 ];
48 }
◆ testImproperNames()
ILIAS\Component\Tests\Dependencies\NameTest::testImproperNames |
( |
string |
$name | ) |
|
Definition at line 36 of file NameTest.php.
36 : void
37 {
38 $this->expectException(\InvalidArgumentException::class);
39 $n = new Name($name);
40 }
◆ testProperNames()
ILIAS\Component\Tests\Dependencies\NameTest::testProperNames |
( |
string |
$name | ) |
|
Definition at line 29 of file NameTest.php.
29 : void
30 {
31 $n = new Name($name);
32 $this->assertEquals($name, (string) $n);
33 }
The documentation for this class was generated from the following file: