docstr: Test that a new statement is not learned if `read_only` is set to True.
docstr_tok: ["Test","that","a","new","statement","is","not","learned","if","`","read_only","`","is","set","to","True","."]
code: def test_get_response_does_not_add_new_statement(self):
      """
      Test that a new statement is not learned if `read_only` is set to True.
      """
      self.chatbot.read_only = True
      self.chatbot.get_response("Hi!")
      results = list(self.chatbot.storage.filter(text="Hi!"))
  
      self.assertIsLength(results, 0)
  
imports: from tests.base_case import ChatBotTestCase
  from chatterbot.logic import LogicAdapter
  from chatterbot.conversation import Statement
label_desc: Use image node_id 24 for calling the ChatterBotResponseTestCase obj's underlying member method code with example usage: obj.test_get_response_does_not_add_new_statement() without return types