Class ilTestArchiveServiceTest.
More...
◆ setUp()
ilTestArchiveServiceTest::setUp |
( |
| ) |
|
|
protected |
Reimplemented from ilTestBaseTestCase.
Definition at line 29 of file ilTestArchiveServiceTest.php.
29 : void
30 {
31 parent::setUp();
32
35 $this->createMock(ilLanguage::class),
36 $this->createMock(ilDBInterface::class),
37 $this->createMock(ilObjUser::class),
38 $this->createMock(
ILIAS\UI\Factory::class),
39 $this->createMock(
ILIAS\UI\Renderer::class),
40 $this->createMock(
ILIAS\ResourceStorage\Services::class),
41 $this->createMock(Psr\Http\Message\ServerRequestInterface::class),
42 $this->createMock(ilObjectDataCache::class),
43 $this->createMock(ilTestParticipantAccessFilterFactory::class),
44 $this->createMock(ilTestHTMLGenerator::class)
45 );
46 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
References getTestObjMock().
◆ test_instantiateObject_shouldReturnInstance()
ilTestArchiveServiceTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
Definition at line 48 of file ilTestArchiveServiceTest.php.
48 : void
49 {
50 $this->assertInstanceOf(ilTestArchiveService::class, $this->testObj);
51 }
◆ testParticipantData()
ilTestArchiveServiceTest::testParticipantData |
( |
| ) |
|
Definition at line 53 of file ilTestArchiveServiceTest.php.
53 : void
54 {
55 $testParticipantData_mock = $this->createMock(ilTestParticipantData::class);
56
57 $this->testObj->setParticipantData($testParticipantData_mock);
58
59 $this->assertEquals($testParticipantData_mock, $this->testObj->getParticipantData());
60 }
◆ $testObj
The documentation for this class was generated from the following file: