def METHOD_NAME(user_factory, conference, submission_factory):
    user = user_factory()
    submission_factory(speaker_id=user.id, conference=conference, status="cancelled")
    endpoint = convert_user_to_endpoint(user)
    assert endpoint.id == str(user.id)
    assert endpoint.name == user.name
    assert endpoint.full_name == user.full_name
    assert endpoint.is_staff == user.is_staff
    assert endpoint.has_sent_submission_to == [conference.code]
    assert endpoint.has_item_in_schedule == []
    assert endpoint.has_cancelled_talks == [conference.code]