code: def test_valid_runner_basic(caplog):
      dummy_runner = Runner(DummyRunnable)
      assert dummy_runner.name == "dummyrunnable"
      assert (
          "bentoml._internal.runner.runner",
          logging.WARNING,
          "Using lowercased runnable class name 'dummyrunnable' for runner.",
      ) in caplog.record_tuples
  
      named_runner = Runner(DummyRunnable, name="UPPERCASE_name")
      assert named_runner.name == "uppercase_name"
      assert (
          "bentoml._internal.runner.runner",
          logging.WARNING,
          "Converting runner name 'UPPERCASE_name' to lowercase: 'uppercase_name'",
      ) in caplog.record_tuples
  
file_path: BentoML/tests/unit/_internal/runner/test_runner.py
imports: import logging
  import pytest
  import bentoml
  from bentoml._internal.runner import Runner
label_desc: Use image node_id 1 for calling a global function with example usage: test_valid_runner_basic(caplog) without return types