public void And_value_cannot_be_converted_exception_is_thrown() { var settings = new AppSettings(SimpleConfig.AbsolutePathToConfigFile); Assert.Throws<AppSettingException>(() => settings.GetValue<decimal>(SimpleConfig.NonEmptyStringValue)); }