Definition at line 36 of file ilSetupAgentTest.php.
◆ setUp()
| ILIAS\Tests\Setup\ilSetupAgentTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 40 of file ilSetupAgentTest.php.
40 : void
41 {
43 $this->createMock(DataFactory::class),
44 $this->createMock(ilLanguage::class)
45 );
46
47 parent::setUp();
49 }
Contains common objectives for the setup.
Refinery Factory $refinery
References ILIAS\Repository\$refinery.
◆ testExecuteClosure()
| ILIAS\Tests\Setup\ilSetupAgentTest::testExecuteClosure |
( |
| ) |
|
Definition at line 59 of file ilSetupAgentTest.php.
59 : void
60 {
61 $objectiveConstructor = $this->testObj->getNamedObjectives(new NullConfig())["registerNICKey"];
62 $closureResult = $objectiveConstructor->create();
63 $this->assertInstanceOf(Objective::class, $closureResult);
64 }
◆ testGetNamedObjectives()
| ILIAS\Tests\Setup\ilSetupAgentTest::testGetNamedObjectives |
( |
| ) |
|
Definition at line 51 of file ilSetupAgentTest.php.
51 : void
52 {
53 $this->assertArrayHasKey(
54 "registerNICKey",
55 $this->testObj->getNamedObjectives(new NullConfig())
56 );
57 }
◆ $testObj
The documentation for this class was generated from the following file: