Class ilObjTestXMLParserTest.
More...
◆ setUp()
| ilObjTestXMLParserTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
| ilObjTestXMLParserTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testImportMapping()
| ilObjTestXMLParserTest::testImportMapping |
( |
| ) |
|
Definition at line 52 of file ilObjTestXMLParserTest.php.
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());
◆ testTestOBJ()
| ilObjTestXMLParserTest::testTestOBJ |
( |
| ) |
|
Definition at line 43 of file ilObjTestXMLParserTest.php.
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());
◆ $testObj
The documentation for this class was generated from the following file: