'Create a L{dns.DNSDatagramProtocol} with a deterministic clock.'

def setUp(self):

    self.clock = task.Clock()
    self.controller = TestController()
    self.proto = dns.DNSDatagramProtocol(self.controller)
    transport = proto_helpers.FakeDatagramTransport()
    self.proto.makeConnection(transport)
    self.proto.callLater = self.clock.callLater
