3declare(strict_types=1);
29 protected function setUp(): void
33 $db_mock = $this->createMock(ilDBInterface::class);
34 $returnValue =
new stdClass();
35 $returnValue->child = 1;
36 $db_mock->expects($this->once())
37 ->method(
"fetchObject")
38 ->willReturn($returnValue);
48 $this->assertInstanceOf(ilTestTaxonomyTree::class, $this->testObj);
addGlobal_ilAppEventHandler()
setGlobalVariable(string $name, $value)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_instantiateObject_shouldReturnInstance()
ilTestTaxonomyTree $testObj