TeamMentor.UnitTests.TM_Website.Test_TM_QA_Config_Loader.localFilePath C# (CSharp) Method

localFilePath() private method

private localFilePath ( ) : void
return void
        public void localFilePath()
        {
            //check that file exists
            var tmQaConfig_Path = qaConfigLoader.localFilePath();
            tmQaConfig_Path.info();
            Assert.IsNotNull(tmQaConfig_Path);
            Assert.IsTrue   (tmQaConfig_Path.fileExists());

            //
            var tmQAConfig2 = tmQaConfig_Path.load<TM_QA_Config>();
            Assert.IsNotNull(tmQAConfig2);
            Assert.IsNotNull(tmQAConfig2.Default_Admin_Email);
            Assert.AreEqual (tmQAConfig2.toXml(), tmQaConfig_Path.load<TM_QA_Config>().toXml());
        }