'``Environment.to_dict`` returns a dictionary containing the
the environment variables as key/value entries.'

def test_to_dict(self):

    variables = {'baz': 'qux', 'foo': 'bar'}
    environment = Environment(variables=frozenset(variables.items()))
    self.assertEqual(environment.to_dict(), variables)
