@@ -343,7 +346,8 @@ public function testRenderingHtmlSyntaxComponentWithNestedAttributes(): void
             ->render()
         ;
 
-        $this->assertSame(<<assertSame(
+            <<
                 
                     
diff --git a/src/TwigComponent/tests/Unit/Attribute/AsTwigComponentTest.php b/src/TwigComponent/tests/Unit/Attribute/AsTwigComponentTest.php
deleted file mode 100644
index 1606792ca99..00000000000
--- a/src/TwigComponent/tests/Unit/Attribute/AsTwigComponentTest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\UX\TwigComponent\Tests\Unit;
-
-use PHPUnit\Framework\TestCase;
-use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;
-use Symfony\UX\TwigComponent\Attribute\PostMount;
-use Symfony\UX\TwigComponent\Attribute\PreMount;
-
-/**
- * @author Kevin Bond 
- */
-final class AsTwigComponentTest extends TestCase
-{
-    public function testPreMountHooksAreOrderedByPriority(): void
-    {
-        $hooks = AsTwigComponent::preMountMethods(
-            new class {
-                #[PreMount(priority: -10)]
-                public function hook1()
-                {
-                }
-
-                #[PreMount(priority: 10)]
-                public function hook2()
-                {
-                }
-
-                #[PreMount]
-                public function hook3()
-                {
-                }
-            }
-        );
-
-        $this->assertCount(3, $hooks);
-        $this->assertSame('hook2', $hooks[0]->name);
-        $this->assertSame('hook3', $hooks[1]->name);
-        $this->assertSame('hook1', $hooks[2]->name);
-    }
-
-    public function testPostMountHooksAreOrderedByPriority(): void
-    {
-        $hooks = AsTwigComponent::postMountMethods(
-            new class {
-                #[PostMount(priority: -10)]
-                public function hook1()
-                {
-                }
-
-                #[PostMount(priority: 10)]
-                public function hook2()
-                {
-                }
-
-                #[PostMount]
-                public function hook3()
-                {
-                }
-            }
-        );
-
-        $this->assertCount(3, $hooks);
-        $this->assertSame('hook2', $hooks[0]->name);
-        $this->assertSame('hook3', $hooks[1]->name);
-        $this->assertSame('hook1', $hooks[2]->name);
-    }
-}
diff --git a/src/TwigComponent/tests/Unit/ComponentFactoryTest.php b/src/TwigComponent/tests/Unit/ComponentFactoryTest.php
index fd1fd337c89..ccbf85f5cbc 100644
--- a/src/TwigComponent/tests/Unit/ComponentFactoryTest.php
+++ b/src/TwigComponent/tests/Unit/ComponentFactoryTest.php
@@ -31,7 +31,8 @@ public function testMetadataForConfig(): void
             $this->createMock(PropertyAccessorInterface::class),
             $this->createMock(EventDispatcherInterface::class),
             ['foo' => ['key' => 'foo', 'template' => 'bar.html.twig']],
-            []
+            [],
+            [],
         );
 
         $metadata = $factory->metadataFor('foo');
@@ -52,6 +53,7 @@ public function testMetadataForResolveAlias(): void
                 'foo' => ['key' => 'foo', 'template' => 'foo.html.twig'],
             ],
             ['Foo\\Bar' => 'bar'],
+            [],
         );
 
         $metadata = $factory->metadataFor('Foo\\Bar');
@@ -74,7 +76,8 @@ public function testMetadataForReuseAnonymousConfig(): void
             $this->createMock(PropertyAccessorInterface::class),
             $this->createMock(EventDispatcherInterface::class),
             [],
-            []
+            [],
+            [],
         );
 
         $metadata = $factory->metadataFor('foo');