Esempio n. 1
0
        public void TRuleTrustedSessionCondition()
        {
            var testClass = new TRuleTrustedSessionCondition();

            var testXml = ToFormattedXml(testClass);

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

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