'Assert that instances of C{cls} with the same attributes compare equal
to each other and instances with different attributes compare as not
equal.
@param cls: A L{dns.SimpleRecord} subclass.'

def _simpleEqualityTest(self, cls):

    self._equalityTest(cls('example.com', 123), cls('example.com', 123), cls('example.com', 321))
    self._equalityTest(cls('example.com', 123), cls('example.com', 123), cls('example.org', 123))
