def METHOD_NAME(self):
    result = yield self.resolver.resolve("google.com", 80, socket.AF_INET)
    self.assertIn((socket.AF_INET, ("1.2.3.4", 80)), result)
    result = yield self.resolver.resolve("google.com", 80, socket.AF_INET6)
    self.assertIn(
        (socket.AF_INET6, ("2a02:6b8:7c:40c:c51e:495f:e23a:3", 80, 0, 0)), result
    )