def METHOD_NAME(
    case, channel_general, channel_private, channel_dm, channel_mpdm
):
    wee_slack.config.channel_name_typing_indicator = True
    wee_slack.config.show_buflist_presence = True
    channels = {
        "channel": channel_general,
        "private": channel_private,
        "dm": channel_dm,
        "mpdm": channel_mpdm,
    }
    name = channels[case["type"]].formatted_name(
        case["style"], case["typing"], case["present"]
    )
    assert name == case["name"]