ApplicationSettingsTests.CreationTests.When_using_file_name.And_file_does_not_exist_then_exception_is_thrown C# (CSharp) Method

And_file_does_not_exist_then_exception_is_thrown() private method

private And_file_does_not_exist_then_exception_is_thrown ( ) : void
return void
        public void And_file_does_not_exist_then_exception_is_thrown()
        {
            var fileName = TestHelpers.GetFullPathToConfigurationFile(NonExistingConfigFile);

            Assert.Throws<AppSettingException>(() => { new AppSettings(fileName); });
        }