ApplicationSettingsTests.CreationTests.When_using_file_name.Then_relative_path_should_be_converted_to_aboslute_path C# (CSharp) Метод

Then_relative_path_should_be_converted_to_aboslute_path() приватный Метод

private Then_relative_path_should_be_converted_to_aboslute_path ( ) : void
Результат void
        public void Then_relative_path_should_be_converted_to_aboslute_path()
        {
            // Using only file name so that the path is relative
            var settings = new AppSettings(TestHelpers.GetRelativePathToConfigurationFile(SimpleConfig.ConfigFile));

            // This is the absolute path to the file
            Assert.AreEqual(SimpleConfig.AbsolutePathToConfigFile, settings.FullPath);
            Assert.IsTrue(settings.FileExists);
        }