ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
GuidedTourStepTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
23
24class GuidedTourStepTest extends TestCase
25{
26 protected function tearDown(): void
27 {
28 }
29
30 public function testStep(): 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 }
66}