ILIAS  release_8 Revision v8.24
ilTestArchiveServiceTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestArchiveService($this->createMock(ilObjTest::class));
34 }
35
37 {
38 $this->assertInstanceOf(ilTestArchiveService::class, $this->testObj);
39 }
40
41 public function testParticipantData(): void
42 {
43 $testParticipantData_mock = $this->createMock(ilTestParticipantData::class);
44
45 $this->testObj->setParticipantData($testParticipantData_mock);
46
47 $this->assertEquals($testParticipantData_mock, $this->testObj->getParticipantData());
48 }
49}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilTestBaseClass.