code: def test_run_with_pattern_with_more_than_one_capturing_group(self):
      with pytest.raises(
          ValueError, match="contains multiple capture groups"
      ):
          AnswerBuilder(pattern=r"Answer: (.*), (.*)")
  
file_path: haystack/test/components/builders/test_answer_builder.py
imports: import logging
  import pytest
  from haystack import GeneratedAnswer, Document
  from haystack.components.builders.answer_builder import AnswerBuilder
label_desc: Use image node_id 7 for calling the TestAnswerBuilder obj's underlying member method code with example usage: obj.test_run_with_pattern_with_more_than_one_capturing_group() without return types