<?php


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


use Newland\Toubiz\Api\ObjectAdapter\CategoryAdapterInterface;

class CategoryAdapterMock implements CategoryAdapterInterface
{

    public $properties = [];

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

    public function getName()
    {
        return $this->properties['name'];
    }

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