I strongly recommend you to create a wrapper for this call. Something like a ConfigurationReaderService
and use dependency injection to get this class. This way you will be able to isolate this configuration files for test purposes.
So use the ConfigurationManager.AppSettings["something"];
suggested and return this value. With this method you can create some kind of default return if there isn't any key available in the .config file.