ApplicationSettingsTests.When_Getting_Mandatory_Value.And_value_cannot_be_converted_exception_is_thrown C# (CSharp) 메소드

And_value_cannot_be_converted_exception_is_thrown() 개인적인 메소드

private And_value_cannot_be_converted_exception_is_thrown ( ) : void
리턴 void
        public void And_value_cannot_be_converted_exception_is_thrown()
        {
            var settings = new AppSettings(SimpleConfig.AbsolutePathToConfigFile);

            Assert.Throws<AppSettingException>(() => settings.GetValue<decimal>(SimpleConfig.NonEmptyStringValue));
        }