public void TestXmlFragment() { string filename = "test"; for (int i = 0; i < files.Length; i++) { StreamReader reader = new StreamReader(files[i]); string content = reader.ReadToEnd(); feed = AtomFeed.LoadXml(content); Assert.IsNotNull(feed); feed.Save(filename); File.Delete(filename); } }