public void useBundles(List<String> bundlePaths) {
        if (hasLoadedBundles) {
            log.log(Level.FINE, () -> "Platform bundles have already been installed." +
                    "\nInstalled bundles: " + installedBundles +
                    "\nGiven files: " + bundlePaths);
            return;
        }
        installedBundles = install(bundlePaths);
        BundleStarter.startBundles(installedBundles);
        hasLoadedBundles = true;
    }
@Test
    void bundles_cannot_be_added_by_later_calls() {
        bundleLoader.useBundles(List.of(BUNDLE_1_REF));
        bundleLoader.useBundles(List.of(BUNDLE_2_REF));  // Should be a NOP

        assertEquals(1, osgi.getInstalledBundles().size());
        assertEquals(BUNDLE_1.getSymbolicName(), osgi.getInstalledBundles().get(0).getSymbolicName());
    }