ksession.insert( new FactA() );
ksession.insert( new FactA() );
ksession.insert( new FactB() );
ksession.insert( new FactB() );
ksession.insert( new FactC() );
ksession.insert( new FactC() );
ksession.fireAllRules();
for ( org.kie.api.runtime.rule.FactHandle fact : ksession.getFactHandles() ) {
InternalFactHandle internalFact = (InternalFactHandle) fact;
assertTrue( internalFact.getObject() instanceof FactB );