Definition at line 27 of file BuildCommandTest.php.
◆ testBasicFunctionality()
ILIAS\Tests\Setup\CLI\BuildCommandTest::testBasicFunctionality |
( |
| ) |
|
Definition at line 29 of file BuildCommandTest.php.
References Vendor\Package\$e.
31 $agent_finder = $this->createMock(Setup\AgentFinder::class);
33 $agent = $this->createMock(Setup\AgentCollection::class);
35 ->expects($this->once())
40 $objective = $this->createMock(Setup\Objective::class);
42 ->expects($this->once())
43 ->method(
"getBuildObjective")
45 ->willReturn($objective);
48 ->expects($this->once())
49 ->method(
"getPreconditions")
53 ->expects($this->once())
55 ->will($this->returnCallback(
function (Setup\Environment
$e) {
60 ->expects($this->once())
61 ->method(
"isApplicable")
64 $command =
new Setup\CLI\BuildCommand($agent_finder);
65 $tester =
new CommandTester($command);
The documentation for this class was generated from the following file: