'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('test', ['lemurs'])
    h.setRawHeaders('www-authenticate', ['basic    aksljdlk='])
    allHeaders = set([(k, tuple(v)) for (k, v) in h.getAllRawHeaders()])
    self.assertEqual(allHeaders, set([('WWW-Authenticate', ('basic    aksljdlk=',)), ('Test', ('lemurs',))]))
