diff --git a/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php b/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
index ae9deb1..5f395e1 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
@@ -31,6 +31,15 @@ public function setUp() {
         'color' => 'green',
         'class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\Apple',
       ),
+      'banana' => array(
+        'id' => 'banana',
+        'label' => 'Banana',
+        'color' => 'yellow',
+        'uses' => array(
+          'bread' => t('Banana bread'),
+        ),
+        'class' => 'Drupal\plugin_test\Plugin\plugin_test\fruit\Banana',
+      ),
       'cherry' => array(
         'id' => 'cherry',
         'label' => 'Cherry',
diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php
new file mode 100644
index 0000000..621ac81
--- /dev/null
+++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php
@@ -0,0 +1,25 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana.
+ */
+
+namespace Drupal\plugin_test\Plugin\plugin_test\fruit;
+
+use Drupal\Core\Annotation\Plugin;
+use Drupal\Core\Annotation\Translation;
+
+/**
+ * @Plugin(
+ *   id = "banana",
+ *   label = "Banana",
+ *   color = "yellow",
+ *   uses = {
+ *     "bread" = @Translation("Banana bread")
+ *   }
+ * )
+ */
+class Banana {
+
+}
