code: def test_processing_a_simple_template_with_missing_variables(self):
      runtime_variables = ["var1", "var2", "var3"]
      builder = DynamicPromptBuilder(runtime_variables)
  
      with pytest.raises(ValueError):
          builder.run("Hello, {{ name }}!", {})
  
file_path: haystack/test/components/builders/test_dynamic_prompt_builder.py
imports: from typing import List
  import pytest
  from jinja2 import TemplateSyntaxError
  from haystack import component, Document, Pipeline
  from haystack.components.builders import DynamicPromptBuilder
label_desc: Use image node_id 4 for calling the TestDynamicPromptBuilder obj's underlying member method code with example usage: obj.test_processing_a_simple_template_with_missing_variables() without return types