ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
SkillInternalPersonalFactoryTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
24 
28 class SkillInternalPersonalFactoryTest extends TestCase
29 {
30  protected Personal\PersonalSkillFactory $factory;
31  protected Personal\SelectedUserSkill $selected_skill;
32  protected Personal\AssignedMaterial $material;
33 
34  protected function setUp(): void
35  {
36  parent::setUp();
37 
38  $this->factory = new Personal\PersonalSkillFactory();
39 
40  $this->selected_skill = $this->factory->selectedUserSkill(0, "");
41  $this->material = $this->factory->assignedMaterial(0, 0, 0, 0, 0, 0);
42  }
43 
44  public function testFactoryInstances(): void
45  {
46  $this->assertInstanceOf(Personal\SelectedUserSkill::class, $this->selected_skill);
47  $this->assertInstanceOf(Personal\AssignedMaterial::class, $this->material);
48  }
49 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...