public void undeploy(DeploymentUnit unit, TestComponentMetaDataContainer deployment) {
      List<TestComponentMetaData> tests = deployment.componentMetaData;
      if (tests == null) return;

      for (TestComponentMetaData test : tests) {
        unit.removeComponent(test.name);
      }
    }
 protected static void removeTestComponent(DeploymentUnit unit, TestComponentMetaData test) {
   unit.removeComponent(test.name);
 }