ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MarkerTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use PHPUnit\Framework\TestCase;
24
25class MarkerTest extends TestCase
26{
27 public function testActionAndDataValue(): void
28 {
29 $marker = new Marker(Action::NEUTRAL, 'value');
30
31 $this->assertSame($marker->action(), Action::NEUTRAL);
32 $this->assertSame($marker->dataValue(), 'value');
33 }
34}