code: def test_view_file_bind_with_button(self):
      def _command():
          self.called = True
          self.view = tv.view_file(
              root,
              "TITLE_FILE",
              __file__,
              encoding="ascii",
              _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_FILE")
      get = self.view.viewframe.textframe.text.get
      with open(__file__) as f:
          self.assertEqual(get("1.0", "1.end"), f.readline().strip())
          f.readline()
          self.assertEqual(get("3.0", "3.end"), f.readline().strip())
  
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 4 for calling the ButtonClickTest obj's underlying member method code with example usage: obj.test_view_file_bind_with_button() without return types