19 declare(strict_types=1);
31 $set1 = $this->createMock(ilFileValidationSetHandler::class);
32 $set2 = $this->createMock(ilFileValidationSetHandler::class);
33 $set3 = $this->createMock(ilFileValidationSetHandler::class);
34 $sets = [$set1, $set2, $set3];
36 $collection = (
new ilFileValidationSetCollection())
41 $this->assertCount(3, $collection);
42 for ($i = 0; $i < 3; $i++) {
43 $sets[$i] = $collection->toArray()[$i];