public void MethodNameFilter_ToXml_Regex() { TestFilter filter = new MethodNameFilter("Test") { IsRegex = true }; Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method re=\"1\">Test</method>")); }
public void MethodNameFilter_ToXml() { TestFilter filter = new MethodNameFilter("Test"); Assert.That(filter.ToXml(false).OuterXml, Is.EqualTo("<method>Test</method>")); }