'L{Headers.getAllRawHeaders} returns an iterable of (k, v) pairs, where
C{k} is the canonicalized representation of the header name, and C{v}
is a sequence of values.'

def test_getAllRawHeaders(self):

    h = Headers()
    h.setRawHeaders(u'test\xe1', [u'lemurs'])
    h.setRawHeaders(u'www-authenticate', [u'basic    aksljdlk='])
    h.setRawHeaders(u'content-md5', [u'kjdfdfgdfgnsd'])
    allHeaders = set([(k, tuple(v)) for (k, v) in h.getAllRawHeaders()])
    self.assertEqual(allHeaders, set([('WWW-Authenticate', ('basic    aksljdlk=',)), ('Content-MD5', ('kjdfdfgdfgnsd',)), ('Test\xe1', ('lemurs',))]))
