'color' => 'pink',
'class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\ExtendingNonInstalledClass',
'provider' => 'plugin_test',
],
];
$base_directory =
$this->root . '/core/modules/system/tests/modules/plugin_test/src';
$base_directory2 =
$this->root . '/core/modules/system/tests/modules/plugin_test_extended/src';
$namespaces =
new \
ArrayObject(['Drupal\plugin_test' =>
$base_directory, 'Drupal\plugin_test_extended' =>
$base_directory2]);
$annotation_namespaces =
['Drupal\plugin_test\Plugin\Annotation', 'Drupal\plugin_test_extended\Plugin\Annotation'
];
$this->discovery =
new AnnotatedClassDiscovery('Plugin/plugin_test/fruit',
$namespaces, 'Drupal\Component\Annotation\Plugin',
$annotation_namespaces);
$this->emptyDiscovery =
new AnnotatedClassDiscovery('Plugin/non_existing_module/non_existing_plugin_type',
$namespaces);
}}