'L{server.DNSServerFactory.messageReceived} assigns a unix timestamp to
the received message.'

def test_messageReceivedTimestamp(self):

    m = dns.Message()
    f = NoResponseDNSServerFactory()
    t = object()
    self.patch(server.time, 'time', (lambda : t))
    f.messageReceived(message=m, proto=None, address=None)
    self.assertEqual(m.timeReceived, t)
