if (targetScope.getType() == Scope.REPEAT) {
return null;
}
// Generate the conditional step.
TestConditionalStep s = new TestConditionalStep();
s.setType(StepType.TEST_CONDITIONAL);
s.setConditional(targetScope);
s.setWasTrue(conditionalTrue);
s.setMethodInfo(session.getClassInformationProvider().getMethodInfo(event.getOperationBehavior()));
s.setLineNumber(newLine);
s.setForward(forward);
return s;
}
}
return null;