19 declare(strict_types=1);
33 protected function setUp(): void
42 $this->assertInstanceOf(ilRPCServerSettings::class, $rpc_settings);
63 $logger = $this->getMockBuilder(ilLogger::class)
64 ->disableOriginalConstructor()
67 $logger_factory = $this->getMockBuilder(ilLoggerFactory::class)
68 ->disableOriginalConstructor()
69 ->onlyMethods([
'getComponentLogger'])
71 $logger_factory->method(
'getComponentLogger')->willReturn($logger);
Unit tests for class ilRPCServerSettings.
Customizing of pimple-DIC for ILIAS.
setGlobalVariable(string $name, $value)