code: def test_view_text_bind_with_button(self):
      def _command():
          self.called = True
          self.view = tv.view_text(
              root, "TITLE_TEXT", "COMMAND", _utest=True
          )
  
      button = Button(root, text="BUTTON", command=_command)
      button.invoke()
      self.addCleanup(button.destroy)
  
      self.assertEqual(self.called, True)
      self.assertEqual(self.view.title(), "TITLE_TEXT")
      self.assertEqual(
          self.view.viewframe.textframe.text.get("1.0", "1.end"),
          "COMMAND",
      )
  
imports: from idlelib import textview
  from test.support import requires
  import os
  import unittest
  from tkinter import Tk, TclError, CHAR, NONE, WORD
  from tkinter.ttk import Button
  from idlelib.idle_test.mock_idle import Func
  from idlelib.idle_test.mock_tk import Mbox_func
label_desc: Use image node_id 3 for calling the ButtonClickTest obj's underlying member method code with example usage: obj.test_view_text_bind_with_button() without return types