I have a class library that is using application settings to determine the behavior of a particular method.
I realize that the argument could be made that this is a Bad Thing, but we know that the behavior of the site is going to change about a week after launch (no real definitive time), and it will be easiest to just change the setting in the config file to change the behavior of the site.
Anyways, on to my question... I would like to be able to test a method who's behavior changes based on the true/false value of an applicationSetting. How do I create a unit test to test the value that is not defined in the unit test's app.config? The setting is an Application setting, so it is read-only in the Settings.Default instance.