@Test
public void scan_multiple_facet_in_a_plugin()
{

    List<Plugin> plugins = new ArrayList<>();
    TwoFacetPlugin twoFacetPlugin = new TwoFacetPlugin();
    plugins.add(twoFacetPlugin);
    FacetRegistry registry = new FacetRegistry(plugins);
    Facet1 facet1 = registry.getFacet(Facet1.class);
    Facet2 facet2 = registry.getFacet(Facet2.class);
    Assertions.assertThat(facet1).isNotNull();
    Assertions.assertThat(facet1).isEqualTo(twoFacetPlugin);
    Assertions.assertThat(facet2).isNotNull();
    Assertions.assertThat(facet2).isEqualTo(twoFacetPlugin);
}