'L{ResolverChain.lookupAllRecords} returns a L{DomainError}
failure if its C{resolvers} list is empty.'

def test_emptyResolversListLookupAllRecords(self):

    r = ResolverChain([])
    d = r.lookupAllRecords('www.example.com')
    f = self.failureResultOf(d)
    self.assertIs(f.trap(DomainError), DomainError)
