16 protected function setUp(): void
28 $this->assertInstanceOf(
29 ilLPCollectionOfObjectives::class,
51 $this->createMock(ilDBInterface::class)
53 $logger = $this->getMockBuilder(ilLogger::class)
54 ->disableOriginalConstructor()
57 $logger_factory = $this->getMockBuilder(ilLoggerFactory::class)
58 ->disableOriginalConstructor()
59 ->onlyMethods([
'getComponentLogger'])
61 $logger_factory->method(
'getComponentLogger')->willReturn($logger);
setGlobalVariable(string $name, $value)
Customizing of pimple-DIC for ILIAS.
static getInstanceByMode(int $a_obj_id, int $a_mode)
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']