<?php declare(strict_types=1);

namespace Newland\Toubiz\Services\Neos\Tests\Unit\ViewHelpers;

use Neos\Flow\Tests\FunctionalTestCase;
use Neos\FluidAdaptor\View\StandaloneView;

class ViewHelperTestCase extends FunctionalTestCase
{
    /** @var StandaloneView */
    protected $view;

    public function setUp(): void
    {
        parent::setUp();
        $this->view = new StandaloneView();
        $this->view->setPartialRootPath(__DIR__ . '/../Assets/Partials');
        $this->view->getViewHelperResolver()
            ->addNamespace('services', 'Newland\\Toubiz\\Services\\Neos\\ViewHelpers');
    }
}
