def METHOD_NAME(
    self, user: User, channel: Channel, contacts: list[tuple[ContactOrigin, str]]
):
    self.assertEqual(
        {
            (uc.contact_origin, uc.contact)
            for uc in user.contacts
            if uc.channel == channel
        },
        set(contacts),
        "User's contacts must match",
    )