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 $this->createMock(ilLogger::class)
37 );
38 }
◆ test_instantiateObject_shouldReturnInstance()
| ilTestProcessLockerFactoryTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testActiveId()
| ilTestProcessLockerFactoryTest::testActiveId |
( |
| ) |
|
Definition at line 45 of file ilTestProcessLockerFactoryTest.php.
45 : void
46 {
47 $contextId = 212;
48 $lockerFactory = $this->testObj->withContextId($contextId);
49 $this->assertEquals($contextId, $lockerFactory->getContextId());
50 }
◆ $testObj
The documentation for this class was generated from the following file: