class_docstr: Unit tests for the BestMatch logic adapter.
class_docstr_tok: ["Unit","tests","for","the","BestMatch","logic","adapter","."]
docstr: The input should be returned as the closest match if there
  are no other results to return.
docstr_tok: ["The","input","should","be","returned","as","the","closest","match","if","there","are","no","other","results","to","return","."]
code: def test_no_choices(self):
      """
      The input should be returned as the closest match if there
      are no other results to return.
      """
      self.chatbot.storage.create(text="Random")
  
      statement = Statement(text="What is your quest?")
      response = self.adapter.process(statement)
  
      self.assertEqual(response.text, "Random")
      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 3 for calling the BestMatchTestCase obj's underlying member method code with example usage: obj.test_no_choices() without return types