public void XmlWriter_OutputFile() { XmlWriter.OuputDocument(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "XmlWriter_TestOutput"); if (File.Exists(FilePath)) { Assert.Pass("File saved."); } else { Assert.Fail("Houston, we have a problem."); } }