'L{hosts.Resolver.lookupAllRecords} returns a L{Deferred} which fires
with A records from the hosts file.'

def test_lookupAllRecords(self):

    d = self.resolver.lookupAllRecords('mixed')
    def resolved(results):
        (answers, authority, additional) = results
        self.assertEqual((RRHeader('mixed', A, IN, self.ttl, Record_A('1.1.1.2', self.ttl)),), answers)
    d.addCallback(resolved)
    return d
