예제 #1
0
        public void TRuleTrustedSessionCondition()
        {
            var testClass = new TRuleTrustedSessionCondition();

            var testXml = ToFormattedXml(testClass);

            Assert.AreEqual(_xml, testXml);
        }
예제 #2
0
        public void TRuleTrustedSessionCondition_BuildXmlElement()
        {
            var testClass = new TRuleTrustedSessionCondition(GetXmlNode(_xml));

            Assert.AreEqual(TRuleConditionType.TrustedSession, testClass.ConditionType);
        }