public void testFindAppDeployments() throws Exception {
  WAR war=createWar();
  testConfigWar();
  List<Element> l=deployer.selectAppDeployments(war,domain);
  assertEquals(1,l.size());
  deployer.removeDeployableFromDomain(war,domain);
  l=deployer.selectAppDeployments(war,domain);
  assertEquals(0,l.size());
}

public void testFindAppDeployments ( ) throws Exception { WAR war = createWar ( ) ; testConfigWar ( ) ; List < Element > l = deployer . selectAppDeployments ( war , domain ) ; assertEquals ( 1 , l . size ( ) ) ; deployer . removeDeployableFromDomain ( war , domain ) ; l = deployer . selectAppDeployments ( war , domain ) ; assertEquals ( 0 , l . size ( ) ) ; }
test deployments analysis in config . xml .
