Definition at line 40 of file FactoryTest.php.
◆ setUp()
ILIAS\Tests\Refinery\FactoryTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 44 of file FactoryTest.php.
46 $language = $this->getMockBuilder(ilLanguage::class)
47 ->disableOriginalConstructor()
◆ testByTryingInGroup()
ILIAS\Tests\Refinery\FactoryTest::testByTryingInGroup |
( |
| ) |
|
Definition at line 128 of file FactoryTest.php.
130 $instance = $this->basicFactory->byTrying([
131 $this->basicFactory->numeric(),
132 $this->basicFactory->string()
134 $this->assertInstanceOf(ByTrying::class, $instance);
◆ testCreateContainerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateContainerGroup |
( |
| ) |
|
Definition at line 109 of file FactoryTest.php.
111 $group = $this->basicFactory->container();
113 $this->assertInstanceOf(ContainerGroup::class, $group);
◆ testCreateCustomGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateCustomGroup |
( |
| ) |
|
Definition at line 102 of file FactoryTest.php.
104 $group = $this->basicFactory->custom();
106 $this->assertInstanceOf(CustomGroup::class, $group);
◆ testCreateDateTimeGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateDateTimeGroup |
( |
| ) |
|
Definition at line 116 of file FactoryTest.php.
118 $group = $this->basicFactory->dateTime();
119 $this->assertInstanceOf(DateTimeGroup::class, $group);
◆ testCreateInGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateInGroup |
( |
| ) |
|
Definition at line 60 of file FactoryTest.php.
62 $group = $this->basicFactory->in();
64 $this->assertInstanceOf(InGroup::class, $group);
◆ testCreateIntegerGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateIntegerGroup |
( |
| ) |
|
Definition at line 67 of file FactoryTest.php.
69 $group = $this->basicFactory->int();
71 $this->assertInstanceOf(IntegerGroup::class, $group);
◆ testCreateLogicalGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateLogicalGroup |
( |
| ) |
|
Definition at line 88 of file FactoryTest.php.
90 $group = $this->basicFactory->logical();
92 $this->assertInstanceOf(LogicalGroup::class, $group);
◆ testCreateNumericGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateNumericGroup |
( |
| ) |
|
Definition at line 81 of file FactoryTest.php.
83 $group = $this->basicFactory->numeric();
85 $this->assertInstanceOf(NumericGroup::class, $group);
◆ testCreatePasswordGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreatePasswordGroup |
( |
| ) |
|
Definition at line 95 of file FactoryTest.php.
97 $group = $this->basicFactory->password();
99 $this->assertInstanceOf(PasswordGroup::class, $group);
◆ testCreateStringGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateStringGroup |
( |
| ) |
|
Definition at line 74 of file FactoryTest.php.
76 $group = $this->basicFactory->string();
78 $this->assertInstanceOf(StringGroup::class, $group);
◆ testCreateToGroup()
ILIAS\Tests\Refinery\FactoryTest::testCreateToGroup |
( |
| ) |
|
Definition at line 53 of file FactoryTest.php.
55 $group = $this->basicFactory->to();
57 $this->assertInstanceOf(ToGroup::class, $group);
◆ testCreateUriGrouo()
ILIAS\Tests\Refinery\FactoryTest::testCreateUriGrouo |
( |
| ) |
|
Definition at line 122 of file FactoryTest.php.
124 $group = $this->basicFactory->uri();
125 $this->assertInstanceOf(URIGroup::class, $group);
◆ testIdentity()
ILIAS\Tests\Refinery\FactoryTest::testIdentity |
( |
| ) |
|
Definition at line 137 of file FactoryTest.php.
139 $instance = $this->basicFactory->identity();
140 $this->assertInstanceOf(IdentityTransformation::class, $instance);
◆ $basicFactory
Refinery ILIAS\Tests\Refinery\FactoryTest::$basicFactory |
|
private |
The documentation for this class was generated from the following file: