27 protected function setUp(): void
36 $this->assertInstanceOf(ilTestReindexedSequencePositionMap::class, $this->testObj);
41 $oldSequencePosition = 1;
42 $newSequencePosition = 2;
43 $this->testObj->addPositionMapping($oldSequencePosition, $newSequencePosition);
44 $this->assertEquals($newSequencePosition, $this->testObj->getNewSequencePosition($oldSequencePosition));
49 $this->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()