3declare(strict_types=1);
 
   24use PHPUnit\Framework\TestCase;
 
   33    protected function setUp(): void
 
   35        $this->group = 
new RandomGroup();
 
   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);
 
   48        $instance = $this->group->dontShuffle();
 
   49        $this->assertInstanceOf(IdentityTransformation::class, $instance);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...