Neos\Neos\Tests\Unit\Service\HtmlAugmenterTest::addAttributesTests PHP Méthode

addAttributesTests() public méthode

public addAttributesTests ( string $html, array $attributes, string $fallbackTagName, array $exclusiveAttributes, string $expectedResult )
$html string
$attributes array
$fallbackTagName string
$exclusiveAttributes array
$expectedResult string
    public function addAttributesTests($html, array $attributes, $fallbackTagName, $exclusiveAttributes, $expectedResult)
    {
        if ($fallbackTagName === null) {
            $fallbackTagName = 'div';
        }
        $actualResult = $this->htmlAugmenter->addAttributes($html, $attributes, $fallbackTagName, $exclusiveAttributes);
        $this->assertSame($expectedResult, $actualResult);
    }