19 declare(strict_types=1);
    29     protected function setUp(): void
    38         $this->assertInstanceOf(ilObjTestXMLParser::class, $this->testObj);
    43         $objTest_mock = $this->getTestObjMock();
    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());
 ilObjTestXMLParser $testObj
 
test_instantiateObject_shouldReturnInstance()
 
Class ilObjTestXMLParserTest.