parent
39ea7f7b10
commit
33d937b1e1
|
@ -84,10 +84,10 @@ public class Test_Behavior {
|
|||
@Test
|
||||
public void testCompileIfBehavior2Instruction() {
|
||||
List<BehaviorModel> elseBehaviors = new ArrayList<BehaviorModel>(), thenBehaviors = new ArrayList<BehaviorModel>();
|
||||
Behavior behavior = Behavior.buildWith(BehaviorModel
|
||||
.IfBehaviorBuilder(BehaviorModel.testBehaviorBuilder(1,
|
||||
"isDefined", "context", Arrays.asList(ParameterModel
|
||||
.createParameter("name", "a")))),
|
||||
thenBehaviors, elseBehaviors);
|
||||
// Behavior behavior =
|
||||
// Behavior.buildWith(BehaviorModel.IfBehaviorBuilder(
|
||||
// BehaviorModel.testBehaviorBuilder(1, "isDefined", "context",
|
||||
// Arrays.asList(ParameterModel.createParameter("name",
|
||||
// "a"))), thenBehaviors, elseBehaviors));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue