Declaration decl = rule.addParameterDeclaration( "cheese", new MockObjectType( true ) );
ReteTuple tuple = new ReteTuple( (WorkingMemoryImpl) ruleBase.newWorkingMemory( ), decl, handle );
InstrumentedConsequence consequence = new InstrumentedConsequence( );
rule.setConsequence( consequence );
AgendaItem item = new AgendaItem( tuple, rule );
item.fire( ( WorkingMemoryImpl ) tuple.getWorkingMemory( ) );
assertEquals( 1, consequence.getInvokedTuples( ).size( ) );
assertTrue( consequence.getInvokedTuples( ).contains( tuple ) );
}