}
// force gc
GarbageCollector gc = ((InternalAgenda) ksession.getAgenda()).getGarbageCollector();
assertEquals(20, gc.getDeleteCounter()); // 10 LT for R2 + 10 RT for R1
gc.forceGcUnlinkedRules();
Rete rete = ((KnowledgeBaseImpl)kbase).getRete();
JoinNode joinNode = null;
for (ObjectTypeNode otn : rete.getObjectTypeNodes()) {
if ( Integer.class == otn.getObjectType().getValueType().getClassType() ) {