public void ClassNameFilter_ToXml_Regex() { TestFilter filter = new ClassNameFilter("FULLNAME") { IsRegex = true }; Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class re=\"1\">FULLNAME</class>")); }
public void ClassNameFilter_ToXml() { TestFilter filter = new ClassNameFilter("FULLNAME"); Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<class>FULLNAME</class>")); }