38 files declare their use of CacheContextsManager

AccessManagerTest.php in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessPolicyProcessorTest.php in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
ActiveWorkspaceCheckTest.php in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
BreadcrumbManagerTest.php in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
CacheContextsManagerTest.php in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheTest.php in core/tests/Drupal/Tests/Core/Cache/CacheTest.php
DateFormatAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DefaultMenuLinkTreeManipulatorsTest.php in core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
DynamicPageCacheSubscriber.php in core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php
EntityAccessCheckTest.php in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
EntityConditionTest.php in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityCreateAccessCheckTest.php in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityFormDisplayAccessControlHandlerTest.php in core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php
FieldStorageConfigAccessControlHandlerTest.php in core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php
FinishResponseSubscriber.php in core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
FinishResponseSubscriberTest.php in core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php
FormBuilderTest.php in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
LanguageNegotiationContentEntityTest.php in core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php
LatestRevisionCheckTest.php in core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
LocalActionManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
LocalTaskManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
NodeOperationAccessTest.php in core/modules/node/tests/src/Unit/NodeOperationAccessTest.php
OffsetPageTest.php in core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php
PermissionAccessCheckTest.php in core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
PlaceholderGenerator.php in core/lib/Drupal/Core/Render/PlaceholderGenerator.php
PlaceholderingRenderCache.php in core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php
RefinableCalculatedPermissionsTest.php in core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php
RenderCache.php in core/lib/Drupal/Core/Render/RenderCache.php
RoleAccessCheckTest.php in core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php
SortTest.php in core/modules/jsonapi/tests/src/Unit/Query/SortTest.php
SuperUserAccessPolicyTest.php in core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php
TokenTest.php in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
UserAccessControlHandlerTest.php in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
UserRolesAccessPolicyTest.php in core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php
VariationCache.php in core/lib/Drupal/Core/Cache/VariationCache.php
VariationCacheFactory.php in core/lib/Drupal/Core/Cache/VariationCacheFactory.php
VariationCacheTest.php in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
WorkflowAccessControlHandlerTest.php in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php

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