@Test
public void get_plugin_implementation()
{

    List<Plugin> plugins = new ArrayList<>();
    LegacyPlugin legacyPlugin = new LegacyPlugin();
    plugins.add(legacyPlugin);
    FacetRegistry registry = new FacetRegistry(plugins);
    List<LegacyPlugin> legacyPlugins = registry.getFacets(LegacyPlugin.class);
    Assertions.assertThat(legacyPlugins).hasSize(1);
    Assertions.assertThat(legacyPlugins.get(0)).isEqualTo(legacyPlugin);
    Assertions.assertThat(legacyPlugins.get(0)).isInstanceOf(LegacyPlugin.class);
}