19 declare(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());
ilTestProcessLockerFactory $testObj
test_instantiateObject_shouldReturnInstance()
Class ilTestProcessLockerFactoryTest.