public void testFolderWithDeploymentScriptAndClassesCanBeDeployed() throws FileSystemException, MalformedURLException, ClassNotFoundException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException {
DefaultFileSystemManager manager = new DefaultFileSystemManager();
FileObject applicationFolder = getApplicationFolder(manager, folderPath);
try {
Deployer deployer = null;
deployer = new NanoContainerDeployer(manager);
ObjectReference containerRef = deployer.deploy(applicationFolder, getClass().getClassLoader(), null);
PicoContainer pico = (PicoContainer) containerRef.get();
Object zap = pico.getComponentInstance("zap");
assertEquals("Groovy Started", zap.toString());
} catch (Exception e) {