3 declare(strict_types=1);
29 protected function setUp(): void
40 $this->assertInstanceOf(ilTestAccess::class, $this->testObj);
45 $accessHandler_mock = $this->createMock(ilAccessHandler::class);
46 $this->testObj->setAccess($accessHandler_mock);
48 $this->assertEquals($accessHandler_mock, $this->testObj->getAccess());
53 $this->testObj->setRefId(120);
55 $this->assertEquals(120, $this->testObj->getRefId());
60 $this->testObj->setTestId(120);
62 $this->assertEquals(120, $this->testObj->getTestId());
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...