107 files declare their use of UserCreationTrait

AccessPermissionTest.php in core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php
AccessTest.php in core/modules/file/tests/src/Kernel/AccessTest.php
ActiveWorkspaceUpdateTest.php in core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
AdminAccountSwitcherTest.php in core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AnnounceFetcherUserTest.php in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
ArgumentDefaultTest.php in core/modules/user/tests/src/Kernel/Views/ArgumentDefaultTest.php
ArgumentUidRevisionTest.php in core/modules/node/tests/src/Kernel/Views/ArgumentUidRevisionTest.php
ArgumentValidateTest.php in core/modules/user/tests/src/Kernel/Views/ArgumentValidateTest.php
BlockContentAccessHandlerTest.php in core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BlockContentTest.php in core/modules/block_content/tests/src/Kernel/BlockContentTest.php
BookMultilingualTest.php in core/modules/book/tests/src/Kernel/BookMultilingualTest.php
BrowserTestBase.php in core/tests/Drupal/Tests/BrowserTestBase.php
CacheContextOptimizationTest.php in core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php
CommentFieldNameTest.php in core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
CommentIntegrationTest.php in core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
ContentModerationAccessTest.php in core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php
DateFormatAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
EntityConverterLatestRevisionTest.php in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
EntityConverterTest.php in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php
EntityKernelTestBase.php in core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityReferenceSelectionAccessTest.php in core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php in core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityRepositoryTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
EntityStateChangeValidationTest.php in core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
EntityWorkspaceConflictConstraintValidatorTest.php in core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
EntryPointTest.php in core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
FieldDropbuttonTest.php in core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php
FieldEntityLinkTest.php in core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
FieldFieldTest.php in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
FileManagedAccessTest.php in core/modules/file/tests/src/Kernel/FileManagedAccessTest.php
FilterAndArgumentUserUidTest.php in core/modules/comment/tests/src/Kernel/Views/FilterAndArgumentUserUidTest.php
FilterUidRevisionTest.php in core/modules/node/tests/src/Kernel/Views/FilterUidRevisionTest.php
HandlerArgumentUserUidTest.php in core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php
LinkCollectionNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinksetControllerTestBase.php in core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php
LinkUriTest.php in core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php
MediaAccessControlHandlerTest.php in core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
MediaEmbedFilterTestBase.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaLibraryAccessTest.php in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
MediaLibraryAddFormTest.php in core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php
MediaLibraryWidgetTest.php in core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php
MenuAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuBlockTest.php in core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuLinkContentCacheabilityBubblingTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
MigrateMenuLinkLocalizedTest.php in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkLocalizedTest.php
MigrateMenuLinkTest.php in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php
MigrateMenuLinkTest.php in core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php
MigrateMenuLinkTranslationTest.php in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php
ModerationStateFieldItemListTest.php in core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php
ModuleAdminLinksHelperTest.php in core/modules/system/tests/src/Kernel/ModuleAdminLinksHelperTest.php
ModulePermissionsLinkHelperTest.php in core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
NodeAccessTest.php in core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php
NodeAccessTestBase.php in core/modules/node/tests/src/Kernel/NodeAccessTestBase.php
NodeTranslationRedirectTest.php in core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest.php in core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php
OverridesSectionStorageTest.php in core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php
PathPluginTest.php in core/modules/node/tests/src/Kernel/Views/PathPluginTest.php
PathValidatorTest.php in core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
PermissionsPerBundleTest.php in core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PrepareModulesEntityUninstallFormTest.php in core/modules/system/tests/src/Kernel/Module/PrepareModulesEntityUninstallFormTest.php
RelationshipJoinInTest.php in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinInTest.php
RelationshipNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
RelationshipRepresentativeNodeTest.php in core/modules/user/tests/src/Kernel/Views/RelationshipRepresentativeNodeTest.php
RelationshipTest.php in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
RelationshipUserFileDataTest.php in core/modules/file/tests/src/Kernel/Views/RelationshipUserFileDataTest.php
RenderCacheTest.php in core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php
RevisionRouteProviderTest.php in core/tests/Drupal/KernelTests/Core/Entity/RevisionRouteProviderTest.php
RevisionUidTest.php in core/modules/node/tests/src/Kernel/Views/RevisionUidTest.php
RevisionUserTest.php in core/modules/media/tests/src/Kernel/Views/RevisionUserTest.php
RevisionUserTest.php in core/modules/block_content/tests/src/Kernel/Views/RevisionUserTest.php
RouteProviderTest.php in core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
RouteTest.php in core/modules/migrate/tests/src/Kernel/process/RouteTest.php
RowPluginTest.php in core/modules/node/tests/src/Kernel/Views/RowPluginTest.php
RowRenderCacheTest.php in core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php
RssFieldsTest.php in core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php
SearchSetLocaleTest.php in core/modules/search/tests/src/Kernel/SearchSetLocaleTest.php
SummaryLengthTest.php in core/modules/node/tests/src/Kernel/SummaryLengthTest.php
SuperUserPermissionsTest.php in core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
TaxonomyFieldVidTest.php in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
TaxonomyTestBase.php in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php
TermKernelTest.php in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
TextSummaryTest.php in core/modules/text/tests/src/Kernel/TextSummaryTest.php
TimezoneResolverTest.php in core/modules/system/tests/src/Kernel/TimezoneResolverTest.php
TrackerUserUidTest.php in core/modules/tracker/tests/src/Kernel/Views/TrackerUserUidTest.php
UniqueValuesConstraintValidatorTest.php in core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php
UpdateReportTest.php in core/modules/update/tests/src/Kernel/UpdateReportTest.php
UserControllerTest.php in core/modules/user/tests/src/Kernel/Controller/UserControllerTest.php
UserDeleteTest.php in core/modules/user/tests/src/Kernel/UserDeleteTest.php
UserEntityLabelTest.php in core/modules/user/tests/src/Kernel/UserEntityLabelTest.php
UserPassRehashTest.php in core/modules/user/tests/src/Kernel/UserPassRehashTest.php
UserRolesPermissionsTest.php in core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
ViewsBlockTest.php in core/modules/views_ui/tests/src/Kernel/ViewsBlockTest.php
ViewsModerationStateFilterTest.php in core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
WhoIsOnlineBlockTest.php in core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php
WorkflowAccessControlHandlerTest.php in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
WorkspaceAccessTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
WorkspaceAssociationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceAssociationTest.php
WorkspaceContentTranslationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceContentTranslationTest.php
WorkspaceCRUDTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
WorkspaceEntityDeleteTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php
WorkspaceInformationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php
WorkspaceIntegrationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
WorkspaceMergerTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
WorkspaceQueryParameterNegotiatorTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceQueryParameterNegotiatorTest.php
WorkspacesContentModerationStateTest.php in core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
WorkspacesFileItemTest.php in core/modules/workspaces/tests/src/Kernel/WorkspacesFileItemTest.php
WorkspaceViewsIntegrationTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceViewsIntegrationTest.php

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