Class DefaultKIEModuleCacheBuilderUnitTest


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

      • DefaultKIEModuleCacheBuilderUnitTest

        public DefaultKIEModuleCacheBuilderUnitTest()
    • Method Detail

      • setup

        public void setup()
      • testNullCacheKey

        public void testNullCacheKey()
      • testNullCacheKeyGenerator

        public void testNullCacheKeyGenerator()
      • testProcessNullRule

        public void testProcessNullRule()
      • testProcessRuleWithNullKieBase

        public void testProcessRuleWithNullKieBase()
      • testProcessRule

        public void testProcessRule()
      • testProcessRuleWithMismatchingGlobals

        public void testProcessRuleWithMismatchingGlobals()
      • addGlobals

        protected void addGlobals​(int count,
                                  java.lang.String rule,
                                  java.util.Map<java.lang.String,​java.lang.String> globals)
        adds count "global" definitions following the pattern rule-count
      • setupBeanLookups

        protected void setupBeanLookups​(java.util.Map<java.lang.String,​java.lang.String> globals)
        mocks the bean lookup for the globals