class_docstr: Unit tests for the BestMatch logic adapter.
class_docstr_tok: ["Unit","tests","for","the","BestMatch","logic","adapter","."]
docstr: If there is no data to return, an exception should be raised.
docstr_tok: ["If","there","is","no","data","to","return",",","an","exception","should","be","raised","."]
code: def test_no_data(self):
      """
      If there is no data to return, an exception should be raised.
      """
      statement = Statement(text="What is your quest?")
      response = self.adapter.process(statement)
  
      self.assertEqual(response.text, "What is your quest?")
      self.assertEqual(response.confidence, 0)
  
file_path: ChatterBot/tests/logic/test_best_match.py
imports: from chatterbot.logic import BestMatch
  from chatterbot.conversation import Statement
  from tests.base_case import ChatBotTestCase
label_desc: Use image node_id 2 for calling the BestMatchTestCase obj's underlying member method code with example usage: obj.test_no_data() without return types