@Test
    public void allowed_duplicates_are_visible_to_its_own_members() throws  Exception {
        Bundle bundleA = startBundle(felix, "cert-a.jar");
        Bundle bundleB = startBundle(felix, "cert-b.jar");

        // Makes A and B visible to each other
        felix.allowDuplicateBundles(Set.of(bundleA, bundleB));

        List<Bundle> visibleBundles = felix.getBundles(bundleA);
        assertEquals(3, visibleBundles.size());
        assertSame(bundleA, visibleBundles.get(1));
        assertSame(bundleB, visibleBundles.get(2));
    }
Note that the '-dup' bundles are necessary, because installing a bundle with the same location as an already
installed bundle is a NOP. From the OSGi spec: "Every bundle is uniquely identified by its location string."

@author gjoranv
jdisc_core_test/integration_test/src/test/java/com/yahoo/jdisc/core/BundleCollisionHookIntegrationTest.java