3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   38        $this->assertInstanceOf(ilMyTestSolutionsGUI::class, $this->testObj);
 
   43        $obj_mock = $this->createMock(ilObjTest::class);
 
   44        $this->testObj->setTestObj($obj_mock);
 
   46        $this->assertEquals($obj_mock, $this->testObj->getTestObj());
 
   51        $obj_mock = $this->createMock(ilTestAccess::class);
 
   52        $this->testObj->setTestAccess($obj_mock);
 
   54        $this->assertEquals($obj_mock, $this->testObj->getTestAccess());
 
   59        $obj_mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
 
   60        $this->testObj->setObjectiveParent($obj_mock);
 
   62        $this->assertEquals($obj_mock, $this->testObj->getObjectiveParent());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
test_instantiateObject_shouldReturnInstance()
 
ilMyTestSolutionsGUI $testObj