def METHOD_NAME(self):
    """
    DNS Parser: basic checks
    """
    name = 'powerdns.com.'
    query = dns.message.make_query(name, 'A', 'IN', use_edns=True)
    response = dns.message.make_response(query)
    rrset = dns.rrset.from_text(name,
                                3600,
                                dns.rdataclass.IN,
                                dns.rdatatype.A,
                                '192.0.2.1')
    response.answer.append(rrset)
    for method in ("sendUDPQuery", "sendTCPQuery"):
        sender = getattr(self, method)
        (receivedQuery, receivedResponse) = sender(query, response)
        print(receivedResponse)
        self.assertTrue(receivedQuery)
        self.assertTrue(receivedResponse)
        receivedQuery.id = query.id
        self.assertEqual(query, receivedQuery)
        self.assertEqual(receivedResponse, response)