'L{server.DNSServerFactory._responseFromMessage} generates a response
message whose C{timeReceived} attribute has the same value as that found
on the request.'

def test_responseFromMessageTimeReceived(self):

    factory = server.DNSServerFactory()
    request = dns.Message()
    request.timeReceived = 1234
    response = factory._responseFromMessage(message=request)
    self.assertEqual(request.timeReceived, response.timeReceived)
