public void Test_SaveThread()
        {
            //string testLogFile = ApplicationPath + @"\App_Data\Testing\Log.xml";
            //string testIndexFile = ApplicationPath + @"\App_Data\Testing\Detail\Index.xml";
            string rootDir = ApplicationPath + @"\App_Data\Testing\";

            Guid threadID = Guid.NewGuid();
            //string threadTitle = "Test Thread";

            XmlDocument threadDoc = new XmlDocument();

            threadDoc.AppendChild(threadDoc.CreateElement("Test"));

            string dateStamp = DateTime.Now.ToShortDateString().Replace("/", "-");

            LogThreader threader = new LogThreader(rootDir, dateStamp);

            threader.SaveThread(threadDoc, threadID);

            string threadFile = threader.ThreadsDirectoryPath + Path.DirectorySeparatorChar + threadID + ".xml";

            Assert.IsTrue(File.Exists(threadFile), "The thread document wasn't saved.");
        }
		public void Test_SaveThread()
		{
			
			//string testLogFile = ApplicationPath + @"\App_Data\Testing\Log.xml";
			//string testIndexFile = ApplicationPath + @"\App_Data\Testing\Detail\Index.xml";
			string rootDir = ApplicationPath + @"\App_Data\Testing\";
			
			Guid threadID = Guid.NewGuid();
			//string threadTitle = "Test Thread";
			
			XmlDocument threadDoc = new XmlDocument();
			threadDoc.AppendChild(threadDoc.CreateElement("Test"));
			
			string dateStamp = DateTime.Now.ToShortDateString().Replace("/", "-");
			
			LogThreader threader = new LogThreader(rootDir, dateStamp);
			
			threader.SaveThread(threadDoc, threadID);
			
			string threadFile = threader.ThreadsDirectoryPath + Path.DirectorySeparatorChar + threadID + ".xml";
			
			Assert.IsTrue(File.Exists(threadFile), "The thread document wasn't saved.");
		}