def METHOD_NAME(self, bot):
    json_dict = {"type": "invalid", "chat_id": chat_id, "user_id": 42}
    bot_command_scope = BotCommandScope.de_json(json_dict, bot)
    assert type(bot_command_scope) is BotCommandScope
    assert bot_command_scope.type == "invalid"