<?php declare(strict_types=1);

namespace Newland\Toubiz\Sync\Neos\Tests\Unit\Importer\Mock;

use Newland\Toubiz\Api\ObjectAdapter\EventTagAdapterInterface;

class EventTagAdapterMock implements EventTagAdapterInterface
{

    public $properties = [];

    public function __construct(array $properties)
    {
        $this->properties = $properties;
    }

    public function getKeyword()
    {
        return $this->properties['keyword'] ?? '';
    }

    public function getKeywordTypeId()
    {
        return $this->properties['keywordTypeId'] ?? '';
    }

    public function getExternalId(): string
    {
        return $this->properties['externalId'] ?? '';
    }
}