public void TRuleForwardToEmailAction_BuildXmlElement()
        {
            var testClass = new TRuleMoveToFolderAction(GetXmlNode(_xml));

            Assert.AreEqual(TRuleActionType.MoveFolder, testClass.Actiontype);
            Assert.AreEqual("target folder", testClass.Folder);
        }
        public void TRuleForwardToEmailAction()
        {
            var testClass = new TRuleMoveToFolderAction
            {
                Actiontype = TRuleActionType.MoveFolder,
                Folder     = "target folder"
            };

            var testXml = ToFormattedXml(testClass);

            Assert.AreEqual(_xml, testXml);
        }