19declare(strict_types=1);
24use PHPUnit\Framework\TestCase;
25use Symfony\Component\Console\Tester\CommandTester;
34 $agent_finder = $this->createMock(
Setup\AgentFinder::class);
37 $objective = $this->createMock(
Setup\Objective::class);
38 $agent = $this->createMock(
Setup\AgentCollection::class);
39 $expected =
new M(M::STABILITY_MIXED, M::TYPE_COLLECTION, []);
42 ->expects($this->once())
43 ->method(
"getStatusObjective")
47 $result = $obj->getMetrics($agent);
49 $this->assertEquals($expected, $result);
Command to output status information about the installation.
A metric is something we can measure about the system.
A objective collection is a objective that is achieved once all subobjectives are achieved.
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...