19 declare(strict_types=1);
30 $neutral_marker = $factory->marker(Action::NEUTRAL,
'value');
31 $create_marker = $factory->marker(Action::CREATE_OR_UPDATE,
'value');
33 $this->assertInstanceOf(MarkerInterface::class, $neutral_marker);
34 $this->assertSame(Action::NEUTRAL, $neutral_marker->action());
35 $this->assertSame(
'', $neutral_marker->dataValue());
37 $this->assertInstanceOf(MarkerInterface::class, $create_marker);
38 $this->assertSame(Action::CREATE_OR_UPDATE, $create_marker->action());
39 $this->assertSame(
'value', $create_marker->dataValue());