public void WriteXml_ReadXml_SavesFile() { var objectIn = new TestObject { Name = TestObjectName }; ConfigSerializer.WriteXml(_testFilePath, objectIn); TestObject objectOut = ConfigSerializer.ReadXml(_testFilePath, objectIn); Assert.AreEqual(TestObjectName, objectOut.Name); }
public void WriteXml_NoFile_NoError() { ConfigSerializer.ReadXml(_testFilePath, new TestObject()); }