<?php declare(strict_types=1);
namespace Newland\NeosFiltering\Tests\Factory;


use Newland\NeosFiltering\Tests\Fixture\Domain\Model\ExampleCategory;
use Newland\Toubiz\Sync\Neos\Tests\Factory\AbstractFactory;

class ExampleCategoryFactory extends AbstractFactory
{

    public function make(array $properties = [])
    {
        $category = new ExampleCategory();

        $category->name = $properties['name'] ?? $this->faker->name;

        return $category;
    }
}
