'Two L{dns.Record_AFSDB} instances compare equal if and only if they
have the same subtype, hostname, and ttl.'

def test_afsdb(self):

    self._equalityTest(dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(2, 'example.com', 2))
    self._equalityTest(dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(1, 'example.org', 2))
    self._equalityTest(dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(1, 'example.com', 2), dns.Record_AFSDB(1, 'example.com', 3))
