diff --git b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Plugin/Core/Entity/EntityTestRender.php a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Plugin/Core/Entity/EntityTestRender.php index a013a42..29b42d1 100644 --- b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Plugin/Core/Entity/EntityTestRender.php +++ a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Plugin/Core/Entity/EntityTestRender.php @@ -7,7 +7,7 @@ namespace Drupal\entity_test\Plugin\Core\Entity; -use Drupal\Core\Annotation\Plugin; +use Drupal\Component\Annotation\Plugin; use Drupal\Core\Annotation\Translation; /**