Exemplo n.º 1
0
        public void GetCorrelationRuleByName_NoGroupExists_Returns_Null()
        {
            var rule = CorrelationRules.GetRuleByName("AutoDetect_AribaBuyer2", "Not_Existing_Group");

            Assert.AreEqual(null, rule);
        }
Exemplo n.º 2
0
        public void GetCorrelationRuleProperty_Returns_RuleObject()
        {
            var rule = CorrelationRules.GetRuleByName("AutoDetect_Siebel_Parse_Page", "Siebel");

            Assert.AreEqual("flCorrelationCallbackParseWebPage", rule.callbackName);
        }
Exemplo n.º 3
0
        public void GetCorrelationRuleByName_Returns_RuleObject()
        {
            var rule = CorrelationRules.GetRuleByName("AutoDetect_AribaBuyer2", "AribaBuyer");

            Assert.AreEqual("AutoDetect_AribaBuyer2", rule.name);
        }
Exemplo n.º 4
0
        public void GetCorrelationRuleByName_NoSuchRule_Returns_Null()
        {
            var rule = CorrelationRules.GetRuleByName("No_Such_Rule", "AribaBuyer");

            Assert.AreEqual(null, rule);
        }
Exemplo n.º 5
0
        public void GetCorrelationRuleByName_GroupIsNull_Returns_Null()
        {
            var rule = CorrelationRules.GetRuleByName("AutoDetect_AribaBuyer2", null);

            Assert.AreEqual(null, rule);
        }
Exemplo n.º 6
0
        public void GetCorrelationRuleByName_RullNameEmpty_Returns_Null()
        {
            var rule = CorrelationRules.GetRuleByName("", "AribaBuyer");

            Assert.AreEqual(null, rule);
        }