01: package org.drools.agent;
02:
03: import java.util.Properties;
04:
05: import org.drools.RuleBaseConfiguration;
06:
07: public class MockRuleAgent extends RuleAgent {
08:
09: public boolean refreshCalled = false;
10:
11: public MockRuleAgent() {
12: super (new RuleBaseConfiguration());
13: }
14:
15: public void refreshRuleBase() {
16: refreshCalled = true;
17:
18: }
19:
20: }
|