def METHOD_NAME(self) -> None:
    """
    Test JID equality.
    """
    j1 = jid.JID("user@host/resource")
    j2 = jid.JID("user@host/resource")
    self.assertNotIdentical(j1, j2)
    self.assertEqual(j1, j2)