Class ilTestTaxonomyTreeTest.
More...
◆ setUp()
ilTestTaxonomyTreeTest::setUp |
( |
| ) |
|
|
protected |
Reimplemented from ilTestBaseTestCase.
Definition at line 29 of file ilTestTaxonomyTreeTest.php.
29 : void
30 {
31 parent::setUp();
32
33 $db_mock = $this->createMock(ilDBInterface::class);
34 $returnValue = new stdClass();
35 $returnValue->child = 1;
36 $db_mock
37 ->expects($this->once())
38 ->method("fetchObject")
39 ->willReturn($returnValue)
40 ;
41
44
46 }
addGlobal_ilAppEventHandler()
setGlobalVariable(string $name, mixed $value)
References addGlobal_ilAppEventHandler(), and setGlobalVariable().
◆ test_instantiateObject_shouldReturnInstance()
ilTestTaxonomyTreeTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
Definition at line 48 of file ilTestTaxonomyTreeTest.php.
48 : void
49 {
50 $this->assertInstanceOf(ilTestTaxonomyTree::class, $this->testObj);
51 }
◆ $testObj
The documentation for this class was generated from the following file: