'Assert that the L{RRHeader} instances given by C{expected} and
C{computed} carry all the same information but without requiring the
records appear in the same order.
@param expected: A L{list} of L{RRHeader} instances giving the expected
records.
@param computed: A L{list} of L{RRHeader} instances giving the records
computed by the scenario under test.
@raise self.failureException: If the two collections of records
disagree.'

def assertRecordsMatch(self, expected, computed):

    key = (lambda rr: rr.type)
    self.assertEqual(sorted(expected, key=key), sorted(computed, key=key))
