null,
new DefaultFactHandle() );
final Rule rule1 = new Rule( "test-rule1" );
rule1.setActivationGroup( "activation-group-0" );
rule1.setSalience( new SalienceInteger(10) );
final RuleTerminalNode node1 = new RuleTerminalNode( 5,
new MockTupleSource( 4 ),
rule1,
rule1.getLhs(),
0,
buildContext );
rule1.setConsequence( consequence );
final PropagationContext context1 = new PropagationContextImpl( 0,
PropagationContext.INSERTION,
rule1,
null,
new DefaultFactHandle() );
final Rule rule2 = new Rule( "test-rule2" );
rule2.setSalience( new SalienceInteger( -5 ) );
final RuleTerminalNode node2 = new RuleTerminalNode( 7,
new MockTupleSource( 6 ),
rule2,
rule2.getLhs(),
0,
buildContext );
rule2.setConsequence( consequence );
final PropagationContext context2 = new PropagationContextImpl( 0,
PropagationContext.INSERTION,
rule2,
null,
new DefaultFactHandle() );
final Rule rule3 = new Rule( "test-rule3",
"agendaGroup3" );
rule3.setSalience( new SalienceInteger( -10 ) );
rule3.setActivationGroup( "activation-group-3" );
final RuleTerminalNode node3 = new RuleTerminalNode( 9,
new MockTupleSource( 8 ),
rule3,
rule3.getLhs(),