public void setUp(int type) {
setUp(new int[] { type, type, type, type, type, type, type, type } );
}
public void setUp(int... type) {
KieBaseConfiguration kconf = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
kconf.setOption( LRUnlinkingOption.ENABLED );
ruleBase = (ReteooRuleBase) RuleBaseFactory.newRuleBase((RuleBaseConfiguration)kconf);
buildContext = new BuildContext( ruleBase, ruleBase.getReteooBuilder().getIdGenerator() );
context = new PropagationContextImpl( 0, PropagationContext.INSERTION, null, null, null );