'L{WSGIResource} calls the application object with an C{environ}
parameter which is exactly of type C{dict}.'

def test_environIsDict(self):

    d = self.render('GET', '1.1', [], [''])
    def cbRendered(result):
        (environ, startResponse) = result
        self.assertIdentical(type(environ), dict)
        for name in environ:
            self.assertIsInstance(name, str)
    d.addCallback(cbRendered)
    return d
