@Test
    void require_that_manifest_contains_public_api_for_this_bundle_and_embedded_bundles() {
        var publicApiAttribute = mainAttributes.getValue("X-JDisc-PublicApi-Package");
        assertNotNull(publicApiAttribute);
        var publicApi = Arrays.stream(publicApiAttribute.split(",")).collect(Collectors.toSet());

        var expected = List.of("ai.vespa.lib.public_api", "com.yahoo.lib.public_api", "com.yahoo.test");
        assertEquals(expected.size(), publicApi.size());
        expected.forEach(pkg -> assertTrue(publicApi.contains(pkg), "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