Class ilObjTestXMLParserTest.
More...
◆ setUp()
ilObjTestXMLParserTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilObjTestXMLParserTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testImportMapping()
ilObjTestXMLParserTest::testImportMapping |
( |
| ) |
|
Definition at line 50 of file ilObjTestXMLParserTest.php.
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());
◆ testTestOBJ()
ilObjTestXMLParserTest::testTestOBJ |
( |
| ) |
|
Definition at line 41 of file ilObjTestXMLParserTest.php.
References getTestObjMock().
44 $this->assertNull($this->testObj->getTestOBJ());
46 $this->testObj->setTestOBJ($objTest_mock);
47 $this->assertEquals($objTest_mock, $this->testObj->getTestOBJ());
◆ $testObj
The documentation for this class was generated from the following file: