'``Configuration._parse_environment_config`` returns a ``dict``
of ``unicode`` values, one for each environment variable key in the
supplied application configuration.'

def test_dict_of_applications_environment(self):

    config = {u'site-hybridcluster': {u'image': u'flocker/wordpress:v1.0.0', u'ports': [dict(internal=80, external=8080)], u'environment': {u'MYSQL_PORT_3306_TCP': u'tcp://172.16.255.250:3306', u'WP_ADMIN_USERNAME': u'administrator'}}}
    parser = FlockerConfiguration(config)
    environment_vars = parser._parse_environment_config(u'site-hybridcluster', config[u'site-hybridcluster'])
    expected_result = frozenset({u'MYSQL_PORT_3306_TCP': u'tcp://172.16.255.250:3306', u'WP_ADMIN_USERNAME': u'administrator'}.items())
    self.assertEqual(expected_result, environment_vars)
