3declare(strict_types=1);
26use PHPUnit\Framework\TestCase;
32 $this->
refinery = $this->createMock(\
ILIAS\Refinery\Factory::class);
33 $this->storage = $this->createMock(Metrics\Storage::class);
34 $this->
refinery = $this->createMock(\
ILIAS\Refinery\Factory::class);
41 $this->assertFalse($this->agent->hasConfig());
42 $this->assertEquals($null, $this->agent->getInstallObjective());
43 $this->assertEquals($null, $this->agent->getUpdateObjective());
44 $this->assertEquals($null, $this->agent->getBuildArtifactObjective());
45 $this->assertEquals($null, $this->agent->getStatusObjective($this->storage));
46 $this->assertEquals([], $this->agent->getMigrations());
51 $this->expectException(\LogicException::class);
52 $this->agent->getArrayToConfigTransformation();
An agent that just doesn't do a thing.
A non-objective, nothing to do to achieve it...
testGetArrayToConfigTransformationThrows()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider \MainMenu\Provider.