3 declare(strict_types=1);
36 $value = [
'Donec',
'at',
'pede',
'Phasellus',
'purus',
'Nulla',
'facilisis',
'risus',
'a',
'rhoncus',
'fermentum',
'tellus',
'tellus',
'lacinia',
'purus',
'et',
'dictum',
'nunc',
'justo',
'sit',
'amet',
'elit'];
38 $seedMock = $this->getMockBuilder(Seed::class)->getMock();
39 $seedMock->expects(self::once())->method(
'seedRandomGenerator')->willReturnCallback(
static function () use ($seed):
void {
44 $this->assertEquals($expected, $result);
49 $this->expectException(ConstraintViolationException::class);
50 $seedMock = $this->getMockBuilder(Seed::class)->getMock();
51 $seedMock->expects(self::never())->method(
'seedRandomGenerator');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...