'If L{server.DNSServerFactory.sendReply} logs a "no answers" message if
the supplied message has no answers.'

def test_sendReplyLoggingNoAnswers(self):

    self.patch(server.time, 'time', (lambda : 2))
    m = dns.Message()
    m.timeReceived = 1
    f = server.DNSServerFactory(verbose=2)
    assertLogMessage(self, ['Replying    with    no    answers', 'Processed    query    in    1.000    seconds'], f.sendReply, protocol=NoopProtocol(), message=m, address=None)
