distroMgr.getPackageUrlByDistroRole("apache",
HadoopRole.ZOOKEEPER_ROLE.toString())).thenReturn(
"http://localhost/distros/apache/1.0.1/zookeeper-3.4.3.tar.gz");
IResourcePoolService resPoolSvc =
context.getBean("resourcePoolService", IResourcePoolService.class);
IDatastoreService dsSvc =
context.getBean("datastoreService", IDatastoreService.class);
INetworkService netSvc =
context.getBean("networkService", INetworkService.class);
cleanUpUtils = new TestResourceCleanupUtils();
cleanUpUtils.setDsSvc(dsSvc);