3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   34            $lng_mock = $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock(),
 
   35            $this->createMock(ilDBInterface::class)
 
   41        $this->assertInstanceOf(ilTestProcessLockerFactory::class, $this->testObj);
 
   46        $lockerFactory = $this->testObj->withContextId(212);
 
   47        $this->assertEquals(212, $lockerFactory->getContextId());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilTestProcessLockerFactory $testObj
 
test_instantiateObject_shouldReturnInstance()