'The C{\'REQUEST_METHOD\'} key of the C{environ} C{dict} passed to the
application contains the HTTP method in the request (RFC 3875, section
4.1.12).'

def test_requestMethod(self):

    get = self.render('GET', '1.1', [], [''])
    get.addCallback(self.environKeyEqual('REQUEST_METHOD', 'GET'))
    post = self.render('POST', '1.1', [], [''])
    post.addCallback(self.environKeyEqual('REQUEST_METHOD', 'POST'))
    return gatherResults([get, post])
