16 $refinery =
new Refinery($this->createMock(DataFactory::class), $this->createMock(\ilLanguage::class));
18 $agent = $this->createMock(Setup\Agent::class);
19 $config_reader = $this->createMock(Setup\CLI\ConfigReader::class);
22 }, $config_reader, []);
24 $tester =
new CommandTester($command);
26 $objective = $this->createMock(Setup\Objective::class);
27 $env = $this->createMock(Setup\Environment::class);
30 ->expects($this->once())
31 ->method(
"getBuildArtifactObjective")
33 ->willReturn($objective);
36 ->expects($this->once())
37 ->method(
"getPreconditions")
41 ->expects($this->once())