ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

References getFactory().

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

◆ testStandard()

InterruptiveItemFactoryTest::testStandard ( )

Definition at line 35 of file InterruptiveItemFactoryTest.php.

References getFactory().

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

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