Definition at line 29 of file GroupTest.php.
◆ setUp()
ILIAS\Tests\Refinery\Random\GroupTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file GroupTest.php.
35 $this->group =
new RandomGroup();
◆ testDontShuffle()
ILIAS\Tests\Refinery\Random\GroupTest::testDontShuffle |
( |
| ) |
|
Definition at line 46 of file GroupTest.php.
48 $instance = $this->group->dontShuffle();
49 $this->assertInstanceOf(IdentityTransformation::class, $instance);
◆ testShuffle()
ILIAS\Tests\Refinery\Random\GroupTest::testShuffle |
( |
| ) |
|
Definition at line 38 of file GroupTest.php.
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);
◆ $group
RandomGroup ILIAS\Tests\Refinery\Random\GroupTest::$group |
|
private |
The documentation for this class was generated from the following file: