34 $this->config_reader = $this->createMock(ConfigReader::class);
35 $this->has_config_reader =
new class ($this->config_reader) {
39 $this->config_reader = $cr;
42 public function _readAgentConfig(
Agent $agent, InputInterface $input,
string $use_config_field = null): ?
Config 51 $agent = $this->createMock(Agent::class);
52 $ii = $this->createMock(InputInterface::class);
59 $this->assertNull($this->has_config_reader->_readAgentConfig($agent, $ii));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A agent is some component that performs part of the setup process.
__construct()
Constructor setup ILIAS global object public.
readAgentConfig(Agent $agent, InputInterface $input, string $use_config_field=null)
testReadAgentConfigWithoutConfig()
A configuration for the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait HasConfigReader
Add this to an Command that has an config reader.