code: def test_debc027_component_error_message():
      with pytest.raises(TypeError) as e:
          Component(asdf=True)
      assert str(e.value) == (
          "The `TestComponent` component received an unexpected "
          + "keyword argument: `asdf`\nAllowed arguments: a, children, "
          + "id, style"
      )
  
      with pytest.raises(TypeError) as e:
          Component(asdf=True, id="my-component")
      assert str(e.value) == (
          "The `TestComponent` component "
          + 'with the ID "my-component" received an unexpected '
          + "keyword argument: `asdf`\nAllowed arguments: a, children, "
          + "id, style"
      )
  
      with pytest.raises(TypeError) as e:
          html.Div(asdf=True)
      assert str(e.value) == (
          "The `html.Div` component (version {}) ".format(__version__)
          + "received an unexpected "
          + "keyword argument: `asdf`\n"
          + "Allowed arguments: {}".format(
              ", ".join(sorted(html.Div()._prop_names))
          )
      )
  
      with pytest.raises(TypeError) as e:
          html.Div(asdf=True, id="my-component")
      assert str(e.value) == (
          "The `html.Div` component (version {}) ".format(__version__)
          + 'with the ID "my-component" received an unexpected '
          + "keyword argument: `asdf`\n"
          + "Allowed arguments: {}".format(
              ", ".join(sorted(html.Div()._prop_names))
          )
      )
  
imports: import json
  import plotly
  import pytest
  from dash import __version__, Dash
  from dash import html
  from dash.development.base_component import Component
  from dash import dcc, Input, Output
label_desc: Use image node_id 28 for calling a global function with example usage: test_debc027_component_error_message() without return types