ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
SkillInternalFactoryServiceTest Class Reference
+ Inheritance diagram for SkillInternalFactoryServiceTest:
+ Collaboration diagram for SkillInternalFactoryServiceTest:

Public Member Functions

 testFactoryInstances ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

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

Detailed Description

Member Function Documentation

◆ setUp()

SkillInternalFactoryServiceTest::setUp ( )
protected

Definition at line 40 of file SkillInternalFactoryServiceTest.php.

40  : void
41  {
42  parent::setUp();
43 
44  $this->factory = new Service\SkillInternalFactoryService();
45 
46  $this->profile_fac = $this->factory->profile();
47  $this->personal_fac = $this->factory->personal();
48  $this->tree_fac = $this->factory->tree();
49  $this->resource_fac = $this->factory->resource();
50  }

◆ testFactoryInstances()

SkillInternalFactoryServiceTest::testFactoryInstances ( )

Definition at line 52 of file SkillInternalFactoryServiceTest.php.

52  : void
53  {
54  $this->assertInstanceOf(Profile\SkillProfileFactory::class, $this->profile_fac);
55  $this->assertInstanceOf(Personal\PersonalSkillFactory::class, $this->personal_fac);
56  $this->assertInstanceOf(Tree\SkillTreeFactory::class, $this->tree_fac);
57  $this->assertInstanceOf(\ILIAS\Skill\Resource\SkillResourceFactory::class, $this->resource_fac);
58  }
Class ChatMainBarProvider .

Field Documentation

◆ $factory

Service SkillInternalFactoryService SkillInternalFactoryServiceTest::$factory
protected

Definition at line 34 of file SkillInternalFactoryServiceTest.php.

◆ $personal_fac

Personal PersonalSkillFactory SkillInternalFactoryServiceTest::$personal_fac
protected

Definition at line 36 of file SkillInternalFactoryServiceTest.php.

◆ $profile_fac

Profile SkillProfileFactory SkillInternalFactoryServiceTest::$profile_fac
protected

Definition at line 35 of file SkillInternalFactoryServiceTest.php.

◆ $resource_fac

Resource SkillResourceFactory SkillInternalFactoryServiceTest::$resource_fac
protected

Definition at line 38 of file SkillInternalFactoryServiceTest.php.

◆ $tree_fac

Tree SkillTreeFactory SkillInternalFactoryServiceTest::$tree_fac
protected

Definition at line 37 of file SkillInternalFactoryServiceTest.php.


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