Definition at line 29 of file GroupTest.php.
◆ setUp()
ILIAS\Tests\Refinery\Random\GroupTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file GroupTest.php.
33 : void
34 {
35 $this->group = new RandomGroup();
36 }
◆ testDontShuffle()
ILIAS\Tests\Refinery\Random\GroupTest::testDontShuffle |
( |
| ) |
|
Definition at line 46 of file GroupTest.php.
46 : void
47 {
48 $instance = $this->group->dontShuffle();
49 $this->assertInstanceOf(IdentityTransformation::class, $instance);
50 }
◆ testShuffle()
ILIAS\Tests\Refinery\Random\GroupTest::testShuffle |
( |
| ) |
|
Definition at line 38 of file GroupTest.php.
38 : void
39 {
40 $mock = $this->getMockBuilder(Seed::class)->getMock();
41 $mock->expects(self::never())->method('seedRandomGenerator');
42 $instance = $this->group->shuffleArray($mock);
43 $this->assertInstanceOf(ShuffleTransformation::class, $instance);
44 }
◆ $group
RandomGroup ILIAS\Tests\Refinery\Random\GroupTest::$group |
|
private |
The documentation for this class was generated from the following file: