public void Constructor_WithXPath_SetsDefaultNamespaces() { var provider = new XPathPodcastElementProvider(DefaultSelector); provider.NamespaceManager.GetNamespacesInScope(System.Xml.XmlNamespaceScope.ExcludeXml).Should().Equal(DefaultNamespaces); }
private XPathPodcastElementProvider CreateProviderWithXPathAndAdditionalNamespaces() { var provider = new XPathPodcastElementProvider(DefaultSelector, MergedNamespaces); return(provider); }
public void Constructor_WithXPath_SetsXPath() { var provider = new XPathPodcastElementProvider(DefaultSelector); Assert.Equal(DefaultSelector, provider.XPath); }
public TestableBaseModification(string xPathSelector, XElementModification modification) : base(xPathSelector, modification) { Provider = new XPathPodcastElementProvider(xPathSelector); Modification = modification; }