protected void writeBootstrapConfigsWithBundles(List<String> applicationBundles, List<ComponentEntry> components) {
        writeBootstrapConfigs(components.toArray(new ComponentEntry[0]));
        StringBuilder bundles = new StringBuilder();
        for (int i = 0; i < applicationBundles.size(); i++) {
            bundles.append("bundles[" + i + "] \"" + applicationBundles.get(i) + "\"\n");
        }
        dirConfigSource.writeConfig("application-bundles", String.format("bundles[%s]\n%s", applicationBundles.size(), bundles));
    }
@author Tony Vaagenes
@author gjoranv
@author ollivir
container-core/src/test/java/com/yahoo/container/di/ContainerTestBase.java