diff --git a/package_manager/tests/src/Kernel/SymlinkValidatorTest.php b/package_manager/tests/src/Kernel/SymlinkValidatorTest.php
index 1dbbda904cc62099f36a7ebe2f6d181d922883b4..b753df107ba4cc5373a53c36a385d879c73c5f72 100644
--- a/package_manager/tests/src/Kernel/SymlinkValidatorTest.php
+++ b/package_manager/tests/src/Kernel/SymlinkValidatorTest.php
@@ -93,16 +93,23 @@ class SymlinkValidatorTest extends PackageManagerKernelTestBase {
     };
     $this->addEventTestListener($add_ignored_path, CollectIgnoredPathsEvent::class);
 
+    // Expected argument types for active directory, stage directory and ignored
+    // paths passed while checking if precondition is fulfilled.
+    // @see \PhpTuf\ComposerStager\Domain\Service\Precondition\PreconditionInterface::assertIsFulfilled()
     $arguments = [
       Argument::type(PathInterface::class),
       Argument::type(PathInterface::class),
       Argument::type(PathListInterface::class),
     ];
     $listener = function () use ($arguments, $symlinks_exist): void {
+      // Ensure that the Composer Stager's symlink precondition is invoked.
       $this->precondition->assertIsFulfilled(...$arguments)
         ->will(function (array $arguments) use ($symlinks_exist): void {
+          // Ensure that 'ignore/me' is present in ignored paths.
           Assert::assertContains('ignore/me', $arguments[2]->getAll());
 
+          // Whether to simulate or not that a symlink is found in the active
+          // or staging directory (but outside the ignored paths).
           if ($symlinks_exist) {
             throw new PreconditionException($this->reveal(), 'Symlinks were found.');
           }