def test_toolkit_creation_errors_missing_function_names(dbx_client):
    """
    If function_names is empty, raises a ValueError from validation logic.
    """
    with pytest.raises(
        ValueError, match=r"Cannot create tool instances without function_names being provided."
    ):
        UCFunctionToolkit(function_names=[], client=dbx_client)

    If function_names is empty, raises a ValueError from validation logic.
    
ai/integrations/autogen/tests/test_autogen_toolkit.py