for (int i = 0; i < testSuite.getTestCaseCount(); i++) {
TestCase testCase = testSuite.getTestCaseAt(i);
for (int j = 0; j < testCase.getTestStepCount(); j++) {
WsdlTestStep testStep = (WsdlTestStep) testCase.getTestStepAt(j);
if (testStep.dependsOn(iface)) {
return true;
}
}
}
}