def METHOD_NAME(self):
    """
    Validate population of default config settings.
    """
    class DummyConfigWithDefaultSettings(dummy_config):
        default_settings = {
            'bar': 123,
        }
    # Populate the default value if setting has not been specified
    user_config = {}
    DummyConfigWithDefaultSettings.validate(user_config, settings.VERSION)
    self.assertEqual(user_config['bar'], 123)
    # Don't overwrite specified values
    user_config = {'bar': 456}
    DummyConfigWithDefaultSettings.validate(user_config, settings.VERSION)
    self.assertEqual(user_config['bar'], 456)