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