'The I{hosts} parameter to L{client.createResolver} overrides the hosts
file used by the L{hosts.Resolver} in the L{resolve.ResolverChain} it
returns.'

def test_overrideHosts(self):

    with AlternateReactor(Clock()):
        resolver = client.createResolver(hosts='/foo/bar')
    self._hostsTest(resolver, '/foo/bar')
