public KieSessionSimulationFluent assertRuleFired(String ruleName) {
return assertRuleFired(ruleName, 1);
}
public KieSessionSimulationFluent assertRuleFired(String ruleName, int fireCount) {
SimulationStep activeStep = ((DefaultSimulationFluent) simulationFluent).getActiveStep();
FiredRuleCounter firedRuleCounter = new FiredRuleCounter();
firedRuleCounter.setInclusiveRuleNameList(Collections.singletonList(ruleName));
insertFireRuleCounter(activeStep, firedRuleCounter);
AssertRulesFiredCommand assertRulesFiredCommand = new AssertRulesFiredCommand(firedRuleCounter);
assertRulesFiredCommand.addAssertRuleFired(ruleName, fireCount);