You are here

public function BackendChainImplementationUnitTest::testConstructorParameterDeprecation in Drupal 8

Tests deprecation of the constructor parameter.

@group legacy @covers ::__construct @expectedDeprecation The $bin parameter is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Omit the first parameter. See https://www.drupal.org/node/3061125

File

core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php, line 309

Class

BackendChainImplementationUnitTest
Unit test of backend chain implementation specifics.

Namespace

Drupal\Tests\Core\Cache

Code

public function testConstructorParameterDeprecation() {
  new BackendChain('arbitrary');
}