Class DefaultRuleServiceUnitTest


  • @UnitTest
    public class DefaultRuleServiceUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultRuleServiceUnitTest

        public DefaultRuleServiceUnitTest()
    • Method Detail

      • setup

        public void setup()
      • testFindEngineRuleTypeForRuleType

        public void testFindEngineRuleTypeForRuleType()
      • testFindEngineRuleTypeForRuleTypeNotFound

        public void testFindEngineRuleTypeForRuleTypeNotFound()
      • testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingKiBase

        public void testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingKiBase()
      • testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingCatalogVersion

        public void testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingCatalogVersion()
      • testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingRuleType

        public void testActiveRulesShouldThrowIllegalArgumentExceptionOnMissingRuleType()
      • testActiveRulesShouldThrowIllegalStateExceptionWhenMultipleRuleEngineContextsFound

        public void testActiveRulesShouldThrowIllegalStateExceptionWhenMultipleRuleEngineContextsFound()
      • testAllRulesForStatusShouldThrowIllegalStateExceptionOnMissingStatus

        public void testAllRulesForStatusShouldThrowIllegalStateExceptionOnMissingStatus()
      • testAllRulesForStatus

        public void testAllRulesForStatus()
      • testActiveRulesShouldReturnEmptyListWhenNoRuleContextIsFound

        public void testActiveRulesShouldReturnEmptyListWhenNoRuleContextIsFound()
      • testActiveRulesShouldPropagateIllegalArgumentException

        public void testActiveRulesShouldPropagateIllegalArgumentException()
      • testActiveRulesShouldReturnEmptyListWhenActiveRulesAreFound

        public void testActiveRulesShouldReturnEmptyListWhenActiveRulesAreFound()
      • testActiveRulesShouldReturnSourceRules

        public void testActiveRulesShouldReturnSourceRules()