createAntBundleType();
prepareCustomServerService(new CoreServer(), CoreServerMBean.OBJECT_NAME);
prepareCustomServerService(new PluginDeploymentScanner(), PluginDeploymentScannerMBean.OBJECT_NAME);
prepareCustomServerPluginService(new ServerPluginService());
agentServiceContainer = prepareForTestAgents();
agentServiceContainer.bundleService = new TestAgentClient(null, agentServiceContainer);
ps = new ServerPluginService();
serverPluginsDir = ps.getServerPluginsDirectory();
serverPluginsDir.mkdirs();
File agentPluginsDir = new File(serverPluginsDir.getParentFile(), "agentplugins");
agentPluginsDir.mkdirs();