ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
SkillInternalFactoryServiceTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Service;
23 
29 
33 class SkillInternalFactoryServiceTest extends TestCase
34 {
40 
41  protected function setUp(): void
42  {
43  parent::setUp();
44 
45  $this->factory = new SkillInternalFactoryService();
46 
47  $this->profile_fac = $this->factory->profile();
48  $this->personal_fac = $this->factory->personal();
49  $this->tree_fac = $this->factory->tree();
50  $this->resource_fac = $this->factory->resource();
51  }
52 
53  public function testFactoryInstances(): void
54  {
55  $this->assertInstanceOf(Profile\SkillProfileFactory::class, $this->profile_fac);
56  $this->assertInstanceOf(Personal\PersonalSkillFactory::class, $this->personal_fac);
57  $this->assertInstanceOf(Tree\SkillTreeFactory::class, $this->tree_fac);
58  $this->assertInstanceOf(Resource\SkillResourceFactory::class, $this->resource_fac);
59  }
60 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...