Class ilTestProcessLockerFactoryTest.
More...
◆ setUp()
ilTestProcessLockerFactoryTest::setUp |
( |
| ) |
|
|
protected |
Reimplemented from ilTestBaseTestCase.
Definition at line 29 of file ilTestProcessLockerFactoryTest.php.
29 : void
30 {
31 parent::setUp();
32
34 $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock(),
35 $this->createMock(ilDBInterface::class)
36 );
37 }
◆ test_instantiateObject_shouldReturnInstance()
ilTestProcessLockerFactoryTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testActiveId()
ilTestProcessLockerFactoryTest::testActiveId |
( |
| ) |
|
Definition at line 44 of file ilTestProcessLockerFactoryTest.php.
44 : void
45 {
46 $contextId = 212;
47 $lockerFactory = $this->testObj->withContextId($contextId);
48 $this->assertEquals($contextId, $lockerFactory->getContextId());
49 }
◆ $testObj
The documentation for this class was generated from the following file: