def METHOD_NAME(self):
    queryA = dns.message.make_query('foo.localhost', 'A', want_dnssec=True)
    expectedA = dns.rrset.from_text('foo.localhost.', 0, 'IN', 'A', '127.0.0.1')
    resA = self.sendTCPQuery(queryA)
    self.assertRcodeEqual(resA, dns.rcode.NOERROR)
    self.assertRRsetInAnswer(resA, expectedA)