@Test
    public void is_order_insensitive_BA() {
        index.index(List.of(
                newDe(
                        "Org-Id-1",
                        null,
                        null,
                        "Api-Id-1",
                        "Api-Version-1",
                        DiscoverabilityLevel.ORG_MEMBERS
                ),
                newDe(
                        "Org-Id-1",
                        "Plan-Id-1",
                        "Plan-Version-1",
                        "Api-Id-1",
                        "Api-Version-1",
                        DiscoverabilityLevel.PORTAL
                )
        ));

        DILookupResult result = index.isDiscoverable(EntityType.API, "Org-Id-1", "Api-Id-1", "Api-Version-1", Set.of(DiscoverabilityLevel.PORTAL));
        assertThat(result).isEqualTo(DILookupResult.DISCOVERABLE);
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/security/src/test/java/io/apiman/manager/api/security/impl/IndexedDiscoverabilitiesOrderingTest.java