You are here

protected property YamlDiscoveryTest::$expectedKeys in Drupal 8

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

Expected provider => key mappings for testing.

Type: array

File

core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php, line 28

Class

YamlDiscoveryTest
@coversDefaultClass \Drupal\Core\Plugin\Discovery\YamlDiscovery @group Plugin

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',
];