3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   38        $this->assertInstanceOf(ilObjTestXMLParser::class, $this->testObj);
 
   43        $objTest_mock = $this->createMock(ilObjTest::class);
 
   44        $this->assertNull($this->testObj->getTestOBJ());
 
   46        $this->testObj->setTestOBJ($objTest_mock);
 
   47        $this->assertEquals($objTest_mock, $this->testObj->getTestOBJ());
 
   52        $importMapping_mock = $this->createMock(ilImportMapping::class);
 
   53        $this->assertNull($this->testObj->getImportMapping());
 
   55        $this->testObj->setImportMapping($importMapping_mock);
 
   56        $this->assertEquals($importMapping_mock, $this->testObj->getImportMapping());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
test_instantiateObject_shouldReturnInstance()
 
ilObjTestXMLParser $testObj