### Question:
FelixContainer extends DefaultContainer { public void setCacheDirectory(File cacheDirectory) { this.cacheDirectory = cacheDirectory; } FelixContainer(); File getCacheDirectory(); void setCacheDirectory(File cacheDirectory); List<BundleActivator> getExtraActivators(); void setExtraActivators(List<BundleActivator> extraActivators);  }### Answer:
@Test public void testDefault() throws Exception { DefaultHostActivator activator = new DefaultHostActivator(); activator.setInitialBundlesLocation(new FileSystemResource(System.getProperty("seedBundlesZip"))); activator.setInitialBundlesExtractionDirectory(new FileSystemResource(System.getProperty("seedBundlesDir") + "/unzipped")); FelixContainer container = new FelixContainer(); Map<String,String> extras = new HashMap<String,String>(); extras.put("org.slf4j", "1.5.6"); extras.put("org.apache.commons.logging", "1.1.1"); container.setExtraSystemPackages(extras); container.setHostActivator(activator); container.setCacheDirectory(new FileSystemResource(System.getProperty("project.build.directory")).getFile()); container.init(); container.start(); container.stop(); container.destroy(); }