/**
* @internal
*
* @covers \Shopware\Core\Framework\Adapter\Twig\TokenParser\ExtendsTokenParser
*/
class ExtendsTokenParserTest extends TestCase
{ public function testParseStringExtendsInMatchingScope(): void
{ static::
assertSame( 'extended',
$this->
parseTemplate( '{% sw_extends "foo.html.twig" %}{% block test %}extended{% endblock %}',
[TemplateScopeDetector::DEFAULT_SCOPE
],
false
) );
} public function testParseStringNotExtendsInNonMatchingScope(): void
{ static::
assertSame( 'original',