Definition at line 35 of file GroupTest.php.
◆ setUp()
ILIAS\Tests\Refinery\Logical\GroupTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 43 of file GroupTest.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
46 $this->
language = $this->getMockBuilder(Language::class)
47 ->disableOriginalConstructor()
50 $this->group =
new LogicalGroup($this->dataFactory, $this->
language);
52 $this->greaterThanConstraint =
new GreaterThan(2, $this->dataFactory, $this->
language);
53 $this->lessThanConstaint =
new LessThan(5, $this->dataFactory, $this->
language);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
language()
description: > Example for rendring a language glyph.
◆ testLogicalOrGroup()
ILIAS\Tests\Refinery\Logical\GroupTest::testLogicalOrGroup |
( |
| ) |
|
Definition at line 56 of file GroupTest.php.
58 $instance = $this->group->logicalOr([$this->greaterThanConstraint, $this->lessThanConstaint]);
59 $this->assertInstanceOf(LogicalOr::class, $instance);
◆ testNotGroup()
ILIAS\Tests\Refinery\Logical\GroupTest::testNotGroup |
( |
| ) |
|
Definition at line 62 of file GroupTest.php.
64 $instance = $this->group->not($this->greaterThanConstraint);
65 $this->assertInstanceOf(Not::class, $instance);
◆ testParallelGroup()
ILIAS\Tests\Refinery\Logical\GroupTest::testParallelGroup |
( |
| ) |
|
Definition at line 68 of file GroupTest.php.
70 $instance = $this->group->parallel([$this->greaterThanConstraint, $this->lessThanConstaint]);
71 $this->assertInstanceOf(Parallel::class, $instance);
◆ testSequentialGroup()
ILIAS\Tests\Refinery\Logical\GroupTest::testSequentialGroup |
( |
| ) |
|
Definition at line 74 of file GroupTest.php.
76 $instance = $this->group->sequential([$this->greaterThanConstraint, $this->lessThanConstaint]);
77 $this->assertInstanceOf(Sequential::class, $instance);
◆ $dataFactory
DataFactory ILIAS\Tests\Refinery\Logical\GroupTest::$dataFactory |
|
private |
◆ $greaterThanConstraint
Constraint ILIAS\Tests\Refinery\Logical\GroupTest::$greaterThanConstraint |
|
private |
◆ $group
LogicalGroup ILIAS\Tests\Refinery\Logical\GroupTest::$group |
|
private |
◆ $language
Language ILIAS\Tests\Refinery\Logical\GroupTest::$language |
|
private |
◆ $lessThanConstaint
Constraint ILIAS\Tests\Refinery\Logical\GroupTest::$lessThanConstaint |
|
private |
The documentation for this class was generated from the following file: