'Test the extraction of domain configuration.'

def test_extract_domain_configs(self):

    config = {'zone': None, 'zoner': None, 'zone    ': None, 'zone    Hallo': None, 'zone    100': None}
    self.assertEqual(set(['zone', 'zone    Hallo', 'zone    100']), set(helpers.extract_domain_configs(config, 'zone')))
