You are here

protected property YamlDiscoveryDecoratorTest::$expectedKeys in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php \Drupal\Tests\Core\Plugin\Discovery\YamlDiscoveryDecoratorTest::expectedKeys

Expected provider => key mappings for testing.

Type: array

File

core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php, line 27

Class

YamlDiscoveryDecoratorTest
YamlDiscoveryDecorator unit tests.

Namespace

Drupal\Tests\Core\Plugin\Discovery

Code

protected $expectedKeys = [
  'test_1' => 'test_1_a',
  'another_provider_1' => 'test_1_b',
  'another_provider_2' => 'test_2_a',
  'test_2' => 'test_2_b',
  'decorated_1' => 'decorated_test_1',
  'decorated_2' => 'decorated_test_2',
];