'``Configuration._parse_link_configuration`` raises a
``ConfigurationError`` if the application_configuration\'s
``u"links"`` key is not a dictionary.'

def test_error_on_links_not_list(self):

    config = dict()
    parser = FlockerConfiguration(config)
    exception = self.assertRaises(ConfigurationError, parser._parse_link_configuration, u'mysql-hybridcluster', u'not-a-list')
    self.assertEqual(u"Application    'mysql-hybridcluster'    has    a    config    error.    'links'    must    be    a    list    of    dictionaries;    got    type    'unicode'.", exception.message)
