public void RoundTripXml() { const string XmlFormat = "<xml>{0}</xml>"; string original = string.Format(XmlFormat, Guid.NewGuid()); Guid id = source.InsertXml(original); Assert.AreNotEqual <Guid>(Guid.Empty, id); var returned = source.SelectXml(id); Assert.IsNotNull(returned); Assert.AreEqual <string>(original, returned, "Data Mismatch"); string update = string.Format(XmlFormat, Guid.NewGuid()); source.UpdateXml(id, update); var finalData = source.SelectXml(id); Assert.IsNotNull(finalData); Assert.AreEqual <string>(update, finalData, "Data Mismatch"); }