ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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}