Set<Interface> requiredInterfaces = new HashSet<Interface>();
// get required interfaces
for (TestCase testCase : testSuite.getTestCaseList()) {
for (int y = 0; y < testCase.getTestStepCount(); y++) {
WsdlTestStep testStep = (WsdlTestStep) testCase.getTestStepAt(y);
requiredInterfaces.addAll(testStep.getRequiredInterfaces());
}
}
if (DragAndDropSupport.importRequiredInterfaces(target, requiredInterfaces, "Move TestSuite")) {
WsdlTestSuite importedTestSuite = target.importTestSuite(testSuite, testSuite.getName(), position, true,