ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Tests\Refinery\Container\GroupTest Class Reference
+ Inheritance diagram for ILIAS\Tests\Refinery\Container\GroupTest:
+ Collaboration diagram for ILIAS\Tests\Refinery\Container\GroupTest:

Public Member Functions

 testCustomConstraint ()
 

Protected Member Functions

 setUp ()
 

Private Attributes

ContainerGroup $group
 
DataFactory $dataFactory
 

Detailed Description

Definition at line 28 of file GroupTest.php.

Member Function Documentation

◆ setUp()

ILIAS\Tests\Refinery\Container\GroupTest::setUp ( )
protected

Definition at line 33 of file GroupTest.php.

33  : void
34  {
35  $this->dataFactory = new DataFactory();
36  $this->group = new ContainerGroup($this->dataFactory);
37  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testCustomConstraint()

ILIAS\Tests\Refinery\Container\GroupTest::testCustomConstraint ( )

Definition at line 39 of file GroupTest.php.

39  : void
40  {
41  $instance = $this->group->addLabels(['hello', 'world']);
42  $this->assertInstanceOf(AddLabels::class, $instance);
43  }

Field Documentation

◆ $dataFactory

DataFactory ILIAS\Tests\Refinery\Container\GroupTest::$dataFactory
private

Definition at line 31 of file GroupTest.php.

◆ $group

ContainerGroup ILIAS\Tests\Refinery\Container\GroupTest::$group
private

Definition at line 30 of file GroupTest.php.


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