def METHOD_NAME(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())