@Test public void springRuleBooksWithNoRulesShouldReturnFalseForHasRules() { SpringRuleBook<String> ruleBook = new SpringRuleBook<>(_ruleBook); Assert.assertFalse(ruleBook.hasRules()); }
@Override public boolean hasRules() { return _ruleBook.hasRules(); }
SpringRuleBook implements RuleBook<T> { @Override public boolean hasRules() { return _ruleBook.hasRules(); } }
SpringRuleBook implements RuleBook<T> { @Override public boolean hasRules() { return _ruleBook.hasRules(); } SpringRuleBook(RuleBook<T> ruleBook); }
SpringRuleBook implements RuleBook<T> { @Override public boolean hasRules() { return _ruleBook.hasRules(); } SpringRuleBook(RuleBook<T> ruleBook); @Override void addRule(Rule rule); void addRule(Object rule); @Override void run(NameValueReferableMap facts); @Override void setDefaultResult(T result); @Override Optional<Result<T>> getResult(); @Override boolean hasRules(); }
SpringRuleBook implements RuleBook<T> { @Override public boolean hasRules() { return _ruleBook.hasRules(); } SpringRuleBook(RuleBook<T> ruleBook); @Override void addRule(Rule rule); void addRule(Object rule); @Override void run(NameValueReferableMap facts); @Override void setDefaultResult(T result); @Override Optional<Result<T>> getResult(); @Override boolean hasRules();  }