namespace Drupal\Tests\package_manager\Traits

Object name File name Summary
AssertPreconditionsTrait core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Asserts preconditions for tests to function properly.
ComposerInstallersTrait core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php A utility for kernel tests that need to use 'composer/installers'.
ComposerStagerTestTrait core/modules/package_manager/tests/src/Traits/ComposerStagerTestTrait.php Contains helper methods for testing Composer Stager interactions.
FixtureManipulatorTrait core/modules/package_manager/tests/src/Traits/FixtureManipulatorTrait.php A trait for common fixture manipulator functions.
FixtureUtilityTrait core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php A utility for all things fixtures.
InstalledPackagesListTrait core/modules/package_manager/tests/src/Traits/InstalledPackagesListTrait.php A trait for comparing InstalledPackagesList objects.
PackageManagerBypassTestTrait core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php Common functions for testing using the package_manager_bypass module.
ValidationTestTrait core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php Contains helpful methods for testing stage validators.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.