public void ShouldCreateXmlReader() { FileName fileName = new FileName("current.atom"); using (XmlReader reader = fileName.CreateXmlReader(@"..\..\Data\productcatalog\", new XmlReaderSettings { CloseInput = true })) { Assert.IsNotNull(reader); } }
public XmlReader GetXmlReader(FileName fileName) { return fileName.CreateXmlReader(directory, ReaderSettings); }