ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
GuidedTourStepTest Class Reference
+ Inheritance diagram for GuidedTourStepTest:
+ Collaboration diagram for GuidedTourStepTest:

Public Member Functions

 testStep ()
 

Protected Member Functions

 tearDown ()
 

Detailed Description

Definition at line 24 of file GuidedTourStepTest.php.

Member Function Documentation

◆ tearDown()

GuidedTourStepTest::tearDown ( )
protected

Definition at line 26 of file GuidedTourStepTest.php.

26 : void
27 {
28 }

◆ testStep()

GuidedTourStepTest::testStep ( )

Definition at line 30 of file GuidedTourStepTest.php.

30 : void
31 {
33 $step = $data->step(
34 14,
35 13,
36 20,
37 StepType::Mainbar,
38 "my_el"
39 );
40
41 $this->assertEquals(
42 14,
43 $step->getId()
44 );
45
46 $this->assertEquals(
47 13,
48 $step->getTourId()
49 );
50
51 $this->assertEquals(
52 StepType::Mainbar,
53 $step->getType()
54 );
55
56 $this->assertEquals(
57 20,
58 $step->getOrderNr()
59 );
60
61 $this->assertEquals(
62 "my_el",
63 $step->getElementId()
64 );
65 }

References $data.


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