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