@Test
    void require_that_manifest_contains_non_public_api_for_this_bundle_and_embedded_bundles() {
        var nonPublicApiAttribute = mainAttributes.getValue("X-JDisc-Non-PublicApi-Export-Package");
        assertNotNull(nonPublicApiAttribute);
        var nonPublicApi = Arrays.stream(nonPublicApiAttribute.split(",")).collect(Collectors.toSet());

        var expected = List.of("ai.vespa.internal", "ai.vespa.lib.non_public", "com.yahoo.lib.non_public", "com.yahoo.non_public");
        assertEquals(expected.size(), nonPublicApi.size());
        expected.forEach(pkg -> assertTrue(nonPublicApi.contains(pkg), "Non-public api did not contain %s".formatted(pkg)));
   }
Verifies the bundle jar file built and its manifest.

@author Tony Vaagenes
bundle-plugin-test/integration-test/src/test/java/com/yahoo/container/plugin/BundleTest.java