ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Skill\Service\SkillInternalFactoryServiceTest Class Reference
+ Inheritance diagram for ILIAS\Skill\Service\SkillInternalFactoryServiceTest:
+ Collaboration diagram for ILIAS\Skill\Service\SkillInternalFactoryServiceTest:

Public Member Functions

 testFactoryInstances ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

SkillInternalFactoryService $factory
 
Profile SkillProfileFactory $profile_fac
 
Personal PersonalSkillFactory $personal_fac
 
Tree SkillTreeFactory $tree_fac
 
Resource SkillResourceFactory $resource_fac
 

Detailed Description

Member Function Documentation

◆ setUp()

ILIAS\Skill\Service\SkillInternalFactoryServiceTest::setUp ( )
protected

Definition at line 41 of file SkillInternalFactoryServiceTest.php.

41  : 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  }

◆ testFactoryInstances()

ILIAS\Skill\Service\SkillInternalFactoryServiceTest::testFactoryInstances ( )

Definition at line 53 of file SkillInternalFactoryServiceTest.php.

53  : 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  }

Field Documentation

◆ $factory

SkillInternalFactoryService ILIAS\Skill\Service\SkillInternalFactoryServiceTest::$factory
protected

Definition at line 35 of file SkillInternalFactoryServiceTest.php.

◆ $personal_fac

Personal PersonalSkillFactory ILIAS\Skill\Service\SkillInternalFactoryServiceTest::$personal_fac
protected

Definition at line 37 of file SkillInternalFactoryServiceTest.php.

◆ $profile_fac

Profile SkillProfileFactory ILIAS\Skill\Service\SkillInternalFactoryServiceTest::$profile_fac
protected

Definition at line 36 of file SkillInternalFactoryServiceTest.php.

◆ $resource_fac

Resource SkillResourceFactory ILIAS\Skill\Service\SkillInternalFactoryServiceTest::$resource_fac
protected

Definition at line 39 of file SkillInternalFactoryServiceTest.php.

◆ $tree_fac

Tree SkillTreeFactory ILIAS\Skill\Service\SkillInternalFactoryServiceTest::$tree_fac
protected

Definition at line 38 of file SkillInternalFactoryServiceTest.php.


The documentation for this class was generated from the following file: