@Test
public void scan_a_plugin_facet()
{

    List<Plugin> plugins = new ArrayList<>();
    OneFacetPlugin oneFacetPlugin = new OneFacetPlugin();
    plugins.add(oneFacetPlugin);
    Facet1 facet1 = new FacetRegistry(plugins).getFacet(Facet1.class);
    Assertions.assertThat(facet1).isNotNull();
    Assertions.assertThat(facet1).isEqualTo(oneFacetPlugin);
}