Mastodon

You can call the set method of ConfigurationManager.AppSettings to set the values required for that particular unit test.

When the unit test runs it will then use these values to run the code.