private org.kuali.rice.kew.api.rule.RuleService getRuleSvc() {
return KewApiServiceLocator.getRuleService();
}
@Test
public void testDefaultApprovalRule() {
Rule rule = getRuleSvc().getRuleByName("org.martinlaw.rules.default.approval");
assertEquals("default routing rule for maintenance docs", rule.getDescription());
assertEquals("org.martinlaw.defaultApprovalTemplate",rule.getRuleTemplate().getName());
}