function UrlAliasLanguageDeprecatedTest::testUrlAliasLanguageDeprecation

Tests legacy UrlAliasLanguage process plugin.

File

core/modules/path/tests/src/Unit/migrate/process/d6/UrlAliasLanguageDeprecatedTest.php, line 20

Class

UrlAliasLanguageDeprecatedTest
Tests error message from deprecated UrlAliasLanguage process plugin.

Namespace

Drupal\Tests\path\Unit\migrate\process\d6

Code

public function testUrlAliasLanguageDeprecation() {
    $this->expectDeprecation("Drupal\\path\\Plugin\\migrate\\process\\d6\\UrlAliasLanguage is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3219051");
    new UrlAliasLanguage([], 'test', []);
}

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