Definition at line 30 of file GroupTest.php.
◆ setUp()
ILIAS\Tests\Refinery\String\GroupTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 34 of file GroupTest.php.
34 : void
35 {
36 $dataFactory = new DataFactory();
37 $language = $this->getMockBuilder(\
ILIAS\Language\Language::class)
38 ->disableOriginalConstructor()
39 ->getMock();
40
41 $this->group = new StringGroup($dataFactory, $language);
42 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
◆ testGreaterThanInstance()
ILIAS\Tests\Refinery\String\GroupTest::testGreaterThanInstance |
( |
| ) |
|
Definition at line 44 of file GroupTest.php.
44 : void
45 {
46 $instance = $this->group->hasMaxLength(42);
47 $this->assertInstanceOf(HasMaxLength::class, $instance);
48 }
◆ testLowerThanInstance()
ILIAS\Tests\Refinery\String\GroupTest::testLowerThanInstance |
( |
| ) |
|
Definition at line 50 of file GroupTest.php.
50 : void
51 {
52 $instance = $this->group->hasMinLength(42);
53 $this->assertInstanceOf(HasMinLength::class, $instance);
54 }
◆ testMakeClickable()
ILIAS\Tests\Refinery\String\GroupTest::testMakeClickable |
( |
| ) |
|
Definition at line 56 of file GroupTest.php.
56 : void
57 {
58 $instance = $this->group->makeClickable();
59 $this->assertInstanceOf(MakeClickable::class, $instance);
60 }
◆ $group
StringGroup ILIAS\Tests\Refinery\String\GroupTest::$group |
|
private |
The documentation for this class was generated from the following file: