19 declare(strict_types=1);
29 protected function setUp(): void
40 $this->assertInstanceOf(ilObjTestXMLParser::class, $this->testObj);
45 $objTest_mock = $this->createMock(ilObjTest::class);
46 $this->assertNull($this->testObj->getTestOBJ());
48 $this->testObj->setTestOBJ($objTest_mock);
49 $this->assertEquals($objTest_mock, $this->testObj->getTestOBJ());
54 $importMapping_mock = $this->createMock(ilImportMapping::class);
55 $this->assertNull($this->testObj->getImportMapping());
57 $this->testObj->setImportMapping($importMapping_mock);
58 $this->assertEquals($importMapping_mock, $this->testObj->getImportMapping());
ilObjTestXMLParser $testObj
test_instantiateObject_shouldReturnInstance()
addGlobal_ilComponentRepository()
Class ilObjTestXMLParserTest.