ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
SetupAgentTest.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Test\test;
20 
22 
27 
29 {
30  public function testConstruct(): void
31  {
32  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
33  $this->assertInstanceOf(TestSetupAgent::class, $ilTestSetupAgentTest);
34  }
35 
36  public function testGetUpdateObjective(): void
37  {
38  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
39  $this->assertInstanceOf(ObjectiveCollection::class, $ilTestSetupAgentTest->getUpdateObjective());
40  }
41 
42  public function testHasConfig(): void
43  {
44  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
45  $this->assertFalse($ilTestSetupAgentTest->hasConfig());
46  }
47 
48  public function testGetInstallObjective(): void
49  {
50  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
51  $this->assertInstanceOf(NullObjective::class, $ilTestSetupAgentTest->getInstallObjective());
52  }
53 
54  public function testGetBuildArtifactObjective(): void
55  {
56  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
57  $this->assertInstanceOf(NullObjective::class, $ilTestSetupAgentTest->getBuildObjective());
58  }
59 
60  public function testGetMigrations(): void
61  {
62  $ilTestSetupAgentTest = new TestSetupAgent($this->createMock(Refinery::class));
63  $this->assertIsArray($ilTestSetupAgentTest->getMigrations());
64  }
65 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...