3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   34            $this->createMock(ilDBInterface::class),
 
   35            $this->createMock(ilObjTest::class)
 
   41        $this->assertInstanceOf(ilTestPassesSelector::class, $this->testObj);
 
   46        $this->testObj->setActiveId(125);
 
   47        $this->assertEquals(125, $this->testObj->getActiveId());
 
   52        $this->testObj->setLastFinishedPass(125);
 
   53        $this->assertEquals(125, $this->testObj->getLastFinishedPass());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilTestPassesSelector $testObj
 
test_instantiateObject_shouldReturnInstance()