Definition at line 28 of file NullAgentTest.php.
◆ setUp()
ILIAS\Tests\Setup\Agent\NullAgentTest::setUp |
( |
| ) |
|
Definition at line 34 of file NullAgentTest.php.
References ILIAS\Repository\refinery().
37 $this->storage = $this->createMock(Metrics\Storage::class);
38 $this->agent =
new NullAgent($this->
refinery);
Interface Observer Contains several chained tasks and infos about them.
◆ testGetArrayToConfigTransformationThrows()
ILIAS\Tests\Setup\Agent\NullAgentTest::testGetArrayToConfigTransformationThrows |
( |
| ) |
|
Definition at line 52 of file NullAgentTest.php.
54 $this->expectException(\LogicException::class);
55 $this->agent->getArrayToConfigTransformation();
◆ testIsNull()
ILIAS\Tests\Setup\Agent\NullAgentTest::testIsNull |
( |
| ) |
|
Definition at line 41 of file NullAgentTest.php.
43 $null =
new NullObjective();
44 $this->assertFalse($this->agent->hasConfig());
45 $this->assertEquals($null, $this->agent->getInstallObjective());
46 $this->assertEquals($null, $this->agent->getUpdateObjective());
47 $this->assertEquals($null, $this->agent->getBuildObjective());
48 $this->assertEquals($null, $this->agent->getStatusObjective($this->storage));
49 $this->assertEquals([], $this->agent->getMigrations());
◆ $agent
NullAgent ILIAS\Tests\Setup\Agent\NullAgentTest::$agent |
|
protected |
◆ $refinery
◆ $storage
Metrics Storage ILIAS\Tests\Setup\Agent\NullAgentTest::$storage |
|
protected |
The documentation for this class was generated from the following file: