pkg.addRule( ruleOtherwise );
ruleBase.addPackage( pkg );
final WorkingMemory workingMemory = ruleBase.newStatefulSession();
workingMemory.insert( new TestBean() );
workingMemory.fireAllRules();
assertFalse( ((MockConsequence) ruleOtherwise.getConsequence()).fired );
assertTrue( ((MockConsequence) rule1.getConsequence()).fired );
assertTrue( ((MockConsequence) rule2.getConsequence()).fired );