main.setDeployers(deployers);
FeedbackDeployer rhtDeployer = addDeployer(main, "RhtDeployer");
FeedbackDeployer jbsDeployer = addDeployer(main, "JbsDeployer");
Deployment deploymentRHT = createDeployment("/matchers", "some.rhts");
assertDeploy(main, deploymentRHT);
assertTrue(jarStructure.getRecognized().contains("some.rhts"));
Deployment deploymentJBS = createDeployment("/matchers", "some.jbss");
assertDeploy(main, deploymentJBS);
assertTrue(jarStructure.getRecognized().contains("some.jbss"));
Deployment deploymentXYZ = createDeployment("/matchers", "some.xyz");
assertDeploy(main, deploymentXYZ);
assertFalse(jarStructure.getRecognized().contains("some.xyz"));
assertNotNull(rhtDeployer.getFiles());
assertEquals(new String[]{"some.rht"}, rhtDeployer.getFiles().toArray());