Definition at line 15 of file FactoryTest.php.
◆ setUp()
ILIAS\Tests\Refinery\FactoryTest::setUp |
( |
| ) |
|
Definition at line 22 of file FactoryTest.php.
22 : void
23 {
24 $language = $this->getMockBuilder('\ilLanguage')
25 ->disableOriginalConstructor()
26 ->getMock();
27
28 $this->basicFactory =
new Factory(
new \
ILIAS\Data\Factory(), $language);
29 }
Class ChatMainBarProvider \MainMenu\Provider.
◆ testByTryingInGroup()
ILIAS\Tests\Refinery\FactoryTest::testByTryingInGroup |
( |
| ) |
|
Definition at line 106 of file FactoryTest.php.
107 {
108 $instance = $this->basicFactory->byTrying([
109 $this->basicFactory->numeric(),
110 $this->basicFactory->string()
111 ]);
112 $this->assertInstanceOf(\
ILIAS\Refinery\ByTrying::class, $instance);
113 }
◆ testCreateContainerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateContainerGroup |
( |
| ) |
|
Definition at line 87 of file FactoryTest.php.
88 {
89 $group = $this->basicFactory->container();
90
91 $this->assertInstanceOf(\
ILIAS\Refinery\Container\Group::class, $group);
92 }
◆ testCreateCustomGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateCustomGroup |
( |
| ) |
|
Definition at line 80 of file FactoryTest.php.
81 {
82 $group = $this->basicFactory->custom();
83
84 $this->assertInstanceOf(\
ILIAS\Refinery\Custom\Group::class, $group);
85 }
◆ testCreateDateTimeGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateDateTimeGroup |
( |
| ) |
|
Definition at line 94 of file FactoryTest.php.
95 {
96 $group = $this->basicFactory->dateTime();
97 $this->assertInstanceOf(\
ILIAS\Refinery\DateTime\Group::class, $group);
98 }
◆ testCreateInGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateInGroup |
( |
| ) |
|
Definition at line 38 of file FactoryTest.php.
39 {
40 $group = $this->basicFactory->in();
41
42 $this->assertInstanceOf(\
ILIAS\Refinery\In\Group::class, $group);
43 }
◆ testCreateIntegerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateIntegerGroup |
( |
| ) |
|
Definition at line 45 of file FactoryTest.php.
46 {
47 $group = $this->basicFactory->int();
48
49 $this->assertInstanceOf(\
ILIAS\Refinery\Integer\Group::class, $group);
50 }
◆ testCreateLogicalGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateLogicalGroup |
( |
| ) |
|
Definition at line 66 of file FactoryTest.php.
67 {
68 $group = $this->basicFactory->logical();
69
70 $this->assertInstanceOf(\
ILIAS\Refinery\Logical\Group::class, $group);
71 }
◆ testCreateNumericGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateNumericGroup |
( |
| ) |
|
Definition at line 59 of file FactoryTest.php.
60 {
61 $group = $this->basicFactory->numeric();
62
63 $this->assertInstanceOf(\
ILIAS\Refinery\Numeric\Group::class, $group);
64 }
◆ testCreatePasswordGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreatePasswordGroup |
( |
| ) |
|
Definition at line 73 of file FactoryTest.php.
74 {
75 $group = $this->basicFactory->password();
76
77 $this->assertInstanceOf(\
ILIAS\Refinery\Password\Group::class, $group);
78 }
◆ testCreateStringGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateStringGroup |
( |
| ) |
|
Definition at line 52 of file FactoryTest.php.
53 {
54 $group = $this->basicFactory->string();
55
56 $this->assertInstanceOf(\
ILIAS\Refinery\String\Group::class, $group);
57 }
◆ testCreateToGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateToGroup |
( |
| ) |
|
Definition at line 31 of file FactoryTest.php.
32 {
33 $group = $this->basicFactory->to();
34
35 $this->assertInstanceOf(\
ILIAS\Refinery\To\Group::class, $group);
36 }
◆ testCreateUriGrouo()
ILIAS\Tests\Refinery\FactoryTest::testCreateUriGrouo |
( |
| ) |
|
Definition at line 100 of file FactoryTest.php.
101 {
102 $group = $this->basicFactory->uri();
103 $this->assertInstanceOf(\
ILIAS\Refinery\URI\Group::class, $group);
104 }
◆ $basicFactory
ILIAS\Tests\Refinery\FactoryTest::$basicFactory |
|
private |
The documentation for this class was generated from the following file: