public void FullNameFilter_ToXml_Regex() { TestFilter filter = new FullNameFilter("FULLNAME") { IsRegex = true }; Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test re=\"1\">FULLNAME</test>")); }
public void FullNameFilter_ToXml() { TestFilter filter = new FullNameFilter("FULLNAME"); Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<test>FULLNAME</test>")); }