3 declare(strict_types=1);
17 protected function setUp(): void
26 $this->assertInstanceOf(ilSCTask::class, $task);
31 $this->getMockBuilder(ilDateTime::class)
32 ->disableOriginalConstructor()
36 $last_update = $task->getLastUpdate();
37 $this->assertInstanceOf(ilDateTime::class, $last_update);
57 $this->createMock(ilDBInterface::class)
59 $logger = $this->getMockBuilder(ilLogger::class)
60 ->disableOriginalConstructor()
63 $logger_factory = $this->getMockBuilder(ilLoggerFactory::class)
64 ->disableOriginalConstructor()
65 ->onlyMethods([
'getComponentLogger'])
67 $logger_factory->method(
'getComponentLogger')->willReturn($logger);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setGlobalVariable(string $name, $value)
Customizing of pimple-DIC for ILIAS.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Unit tests for class ilDidacticTemplate.