}
}
private MethodInfo findCorrespondingFeatureMethod(String featureMethodName)
{
MethodInfo methodInfo = NOT_FOUND;
for (FeatureInfo feature : currentSpec.getAllFeatures())
{
MethodInfo featureMethod = feature.getFeatureMethod();
if (featureMethodName.equals(featureMethod.getName()))
{
methodInfo = featureMethod;
break;
}
}