package com.cola.lib.ruleengine.service.impl;

import com.cola.lib.ruleengine.configruation.TestConfiguration;
import com.cola.lib.ruleengine.entity.DroolsKIESession;
import com.cola.lib.ruleengine.service.RuleEngineService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by jiachen.shi on 11/10/2016.
 */
//@RunWith(SpringJUnit4ClassRunner.class)
//@ContextConfiguration(classes = TestConfiguration.class)
//@Transactional(readOnly = true)
//public class RuleEngineServiceTest {
//
//    @Autowired
//    private RuleEngineService ruleEngineService;
//
//    @Test
//    public void getDroolsKIESessionByRuleType(){
//        String ruleGroup = "promotion";
//        DroolsKIESession droolsKIESessionByRuleGroup = ruleEngineService.getDroolsKIESessionByRuleGroup(ruleGroup);
//    }
//
//}

@@ -40,16 +40,18 @@
 .impl;%0A%0A
+//
 import c
@@ -102,24 +102,26 @@
 figuration;%0A
+//
 import com.c
@@ -160,24 +160,26 @@
 KIESession;%0A
+//
 import com.c
@@ -224,16 +224,18 @@
 ervice;%0A
+//
 import o
@@ -249,16 +249,18 @@
 t.Test;%0A
+//
 import o
@@ -284,16 +284,18 @@
 unWith;%0A
+//
 import o
@@ -349,16 +349,18 @@
 owired;%0A
+//
 import o
@@ -413,16 +413,18 @@
 ration;%0A
+//
 import o
@@ -487,16 +487,18 @@
 Runner;%0A
+//
 import o

update by james.shi 2018.10.17