ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
InterruptiveItemFactoryTest Class Reference
+ Inheritance diagram for InterruptiveItemFactoryTest:
+ Collaboration diagram for InterruptiveItemFactoryTest:

Public Member Functions

 testStandard ()
 
 testKeyValue ()
 

Protected Member Functions

 getFactory ()
 

Detailed Description

Definition at line 28 of file InterruptiveItemFactoryTest.php.

Member Function Documentation

◆ getFactory()

InterruptiveItemFactoryTest::getFactory ( )
protected

Definition at line 30 of file InterruptiveItemFactoryTest.php.

Referenced by testKeyValue(), and testStandard().

+ Here is the caller graph for this function:

◆ testKeyValue()

InterruptiveItemFactoryTest::testKeyValue ( )

Definition at line 44 of file InterruptiveItemFactoryTest.php.

44 : void
45 {
46 $factory = $this->getFactory();
47 $this->assertInstanceOf(
48 I\Modal\InterruptiveItem\KeyValue::class,
49 $factory->keyValue('id', 'key', 'label')
50 );
51 }

References getFactory().

+ Here is the call graph for this function:

◆ testStandard()

InterruptiveItemFactoryTest::testStandard ( )

Definition at line 35 of file InterruptiveItemFactoryTest.php.

35 : void
36 {
37 $factory = $this->getFactory();
38 $this->assertInstanceOf(
39 I\Modal\InterruptiveItem\Standard::class,
40 $factory->standard('id', 'title')
41 );
42 }

References getFactory().

+ Here is the call graph for this function:

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