def METHOD_NAME(premium_data_fixture):
    session_id = "session-id"
    user = premium_data_fixture.create_user(
        has_active_premium_license=True, session_id=session_id
    )
    view = premium_data_fixture.create_grid_view(user=user)
    decorator_type_name = "left_border_color"
    value_provider_type_name = ""
    value_provider_conf = {}
    action_type_registry.get_by_type(CreateDecorationActionType).do(
        view,
        decorator_type_name,
        value_provider_type_name,
        value_provider_conf,
        user=user,
    )
    ActionHandler.undo(user, [ViewActionScopeType.value(view.id)], session_id)
    action_redone = ActionHandler.redo(
        user, [ViewActionScopeType.value(view.id)], session_id
    )
    assert_undo_redo_actions_are_valid(action_redone, [CreateDecorationActionType])
    assert ViewDecoration.objects.count() == 1