def METHOD_NAME(rundb_mock, algorithm_functionality: str):
    # Run training:
    train_run = mlrun.new_function().run(
        artifact_path="./temp",
        handler=LightGBMHandlers.training_api_train,
        params={"algorithm_functionality": algorithm_functionality},
    )
    # Print the outputs for manual validation:
    print(json.dumps(train_run.outputs, indent=4))
    # Validate artifacts (model artifact shouldn't be counted, hence the '-1'):
    assert len(train_run.status.artifacts) - 1 > 0
    # Validate results (context parameters shouldn't be counted, hence the '-1'):
    assert len(train_run.status.results) - 1 > 0