mirror of
https://github.com/symfony/stimulus-bundle.git
synced 2026-03-24 01:12:07 +01:00
29 lines
782 B
PHP
29 lines
782 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\UX\StimulusBundle\Tests\Helper;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Symfony\UX\StimulusBundle\Dto\StimulusAttributes;
|
|
use Symfony\UX\StimulusBundle\Helper\StimulusHelper;
|
|
use Twig\Environment;
|
|
|
|
final class StimulusHelperTest extends TestCase
|
|
{
|
|
public function testCreateStimulusAttributes(): void
|
|
{
|
|
$helper = new StimulusHelper($this->createMock(Environment::class));
|
|
$attributes = $helper->createStimulusAttributes();
|
|
|
|
$this->assertInstanceOf(StimulusAttributes::class, $attributes);
|
|
}
|
|
}
|