Definition at line 42 of file FactoryTest.php.
◆ setUp()
ILIAS\Tests\Refinery\FactoryTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 46 of file FactoryTest.php.
46 : void
47 {
48 $language = $this->getMockBuilder(\
ILIAS\Language\Language::class)
49 ->disableOriginalConstructor()
50 ->getMock();
51
52 $this->basicFactory = new Refinery(new DataFactory(), $language);
53 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
◆ testByTryingInGroup()
ILIAS\Tests\Refinery\FactoryTest::testByTryingInGroup |
( |
| ) |
|
Definition at line 135 of file FactoryTest.php.
135 : void
136 {
137 $instance = $this->basicFactory->byTrying([
138 $this->basicFactory->numeric(),
139 $this->basicFactory->string()
140 ]);
141 $this->assertInstanceOf(ByTrying::class, $instance);
142 }
◆ testCreateContainerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateContainerGroup |
( |
| ) |
|
Definition at line 111 of file FactoryTest.php.
111 : void
112 {
113 $group = $this->basicFactory->container();
114
115 $this->assertInstanceOf(ContainerGroup::class, $group);
116 }
◆ testCreateCustomGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateCustomGroup |
( |
| ) |
|
Definition at line 104 of file FactoryTest.php.
104 : void
105 {
106 $group = $this->basicFactory->custom();
107
108 $this->assertInstanceOf(CustomGroup::class, $group);
109 }
◆ testCreateDateTimeGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateDateTimeGroup |
( |
| ) |
|
Definition at line 118 of file FactoryTest.php.
118 : void
119 {
120 $group = $this->basicFactory->dateTime();
121 $this->assertInstanceOf(DateTimeGroup::class, $group);
122 }
◆ testCreateEncodeGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateEncodeGroup |
( |
| ) |
|
Definition at line 130 of file FactoryTest.php.
130 : void
131 {
132 $this->assertInstanceOf(EncodeGroup::class, $this->basicFactory->encode());
133 }
◆ testCreateInGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateInGroup |
( |
| ) |
|
Definition at line 62 of file FactoryTest.php.
62 : void
63 {
64 $group = $this->basicFactory->in();
65
66 $this->assertInstanceOf(InGroup::class, $group);
67 }
◆ testCreateIntegerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateIntegerGroup |
( |
| ) |
|
Definition at line 69 of file FactoryTest.php.
69 : void
70 {
71 $group = $this->basicFactory->int();
72
73 $this->assertInstanceOf(IntegerGroup::class, $group);
74 }
◆ testCreateLogicalGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateLogicalGroup |
( |
| ) |
|
Definition at line 90 of file FactoryTest.php.
90 : void
91 {
92 $group = $this->basicFactory->logical();
93
94 $this->assertInstanceOf(LogicalGroup::class, $group);
95 }
◆ testCreateNumericGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateNumericGroup |
( |
| ) |
|
Definition at line 83 of file FactoryTest.php.
83 : void
84 {
85 $group = $this->basicFactory->numeric();
86
87 $this->assertInstanceOf(NumericGroup::class, $group);
88 }
◆ testCreatePasswordGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreatePasswordGroup |
( |
| ) |
|
Definition at line 97 of file FactoryTest.php.
97 : void
98 {
99 $group = $this->basicFactory->password();
100
101 $this->assertInstanceOf(PasswordGroup::class, $group);
102 }
◆ testCreateStringGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateStringGroup |
( |
| ) |
|
Definition at line 76 of file FactoryTest.php.
76 : void
77 {
78 $group = $this->basicFactory->string();
79
80 $this->assertInstanceOf(StringGroup::class, $group);
81 }
◆ testCreateToGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateToGroup |
( |
| ) |
|
Definition at line 55 of file FactoryTest.php.
55 : void
56 {
57 $group = $this->basicFactory->to();
58
59 $this->assertInstanceOf(ToGroup::class, $group);
60 }
◆ testCreateUriGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateUriGroup |
( |
| ) |
|
Definition at line 124 of file FactoryTest.php.
124 : void
125 {
126 $group = $this->basicFactory->uri();
127 $this->assertInstanceOf(URIGroup::class, $group);
128 }
◆ testExecutable()
ILIAS\Tests\Refinery\FactoryTest::testExecutable |
( |
| ) |
|
Definition at line 150 of file FactoryTest.php.
150 : void
151 {
152 $instance = $this->basicFactory->executable();
153 $this->assertInstanceOf(IsExecutableTransformation::class, $instance);
154 }
◆ testIdentity()
ILIAS\Tests\Refinery\FactoryTest::testIdentity |
( |
| ) |
|
Definition at line 144 of file FactoryTest.php.
144 : void
145 {
146 $instance = $this->basicFactory->identity();
147 $this->assertInstanceOf(IdentityTransformation::class, $instance);
148 }
◆ $basicFactory
Refinery ILIAS\Tests\Refinery\FactoryTest::$basicFactory |
|
private |
The documentation for this class was generated from the following file: