// do nothing
}
};
/* create the first activation which will justify the fact "logical" */
final Rule rule1 = new Rule( "test-rule1" );
rule1.setConsequence( consequence );
FactHandleImpl handle1 = new FactHandleImpl( 1 );
ReteTuple tuple1 = new ReteTuple( 0,
handle1,
workingMemory );
PropagationContext context = new PropagationContextImpl( PropagationContext.ASSERTION,
null,
null );
Activation activation1 = new AgendaItem( tuple1,
context,
rule1 );
/* Assert the logical "logical" fact */
String logicalString1 = new String ( "logical" );
FactHandle logicalHandle1 = workingMemory.assertObject( logicalString1,
false,
true,
rule1,
activation1 );
/* create the second activation to justify the "logical" fact */
final Rule rule2 = new Rule( "test-rule2" );
rule2.setConsequence( consequence );
FactHandleImpl handle2 = new FactHandleImpl( 2 );
ReteTuple tuple2 = new ReteTuple( 0,
handle2,
workingMemory );