public function DeprecatedServicesTest::testAliasServicesDeprecation in Drupal 8
@expectedDeprecation The "path.alias_manager" service is deprecated. Use "path_alias.manager" instead. See https://drupal.org/node/3092086 @expectedDeprecation The "path_processor_alias" service is deprecated. Use "path_alias.path_processor" instead. See https://drupal.org/node/3092086 @expectedDeprecation The "path_subscriber" service is deprecated. Use "path_alias.subscriber" instead. See https://drupal.org/node/3092086
File
- core/modules/ path_alias/ tests/ src/ Kernel/ DeprecatedServicesTest.php, line 41 
Class
- DeprecatedServicesTest
- Tests deprecation of path alias core services and the related BC logic.
Namespace
Drupal\Tests\path_alias\KernelCode
public function testAliasServicesDeprecation() {
  $this->container
    ->get('path.alias_manager');
  $this->container
    ->get('path_processor_alias');
  $this->container
    ->get('path_subscriber');
}