Issue #2370183 by Mile23, DuaelFr: Expand unit testing for Drupal\Component\Plugin\Discovery\DiscoveryTrait