3 declare(strict_types=1);
29 protected function setUp(): void
38 $this->assertInstanceOf(ilTestReindexedSequencePositionMap::class, $this->testObj);
43 $this->testObj->addPositionMapping(1, 2);
44 self::assertEquals(2, $this->testObj->getNewSequencePosition(1));
49 self::assertNull($this->testObj->getNewSequencePosition(5));
ilTestReindexedSequencePositionMap $testObj
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testNullIsReturnedIfSequenceDoesNotExistInMap()
test_instantiateObject_shouldReturnInstance()
testSequenceCanBeSetAndRetrieved()