def METHOD_NAME(self, contact):
    contact_dict = contact.to_dict()
    assert isinstance(contact_dict, dict)
    assert contact_dict["phone_number"] == contact.phone_number
    assert contact_dict["first_name"] == contact.first_name
    assert contact_dict["last_name"] == contact.last_name
    assert contact_dict["user_id"] == contact.user_id