MockBshDeployer bshDeployer = new MockBshDeployer();
FileStructure fileStructure = new FileStructure();
fileStructure.addFileMatcher(bshDeployer);
addStructureDeployer(main, fileStructure);
DeployersImpl deployers = new DeployersImpl(new AbstractController());
deployers.setMgtObjectCreator(new DefaultManagedObjectCreator());
deployers.addDeployer(bshDeployer);
main.setDeployers(deployers);
VFSDeployment deployment = createDeployment("/nonmetadata", "nmd.jar");
main.deploy(deployment);
assertNotNull(bshDeployer.getScipts());