def METHOD_NAME(self):
    main_win, w = self.newWidget()
    self.checkMenus(w, True)
    w.setInputFile(self.input_file)
    self.checkMenus(w, True, save=True, recent=True, recent_count=1)
    self.assertEqual(w.check_widget.isVisible(), False)
    w._check_action.triggered.emit()
    self.assertEqual(w.check_widget.isVisible(), True)
    self.assertIn("Syntax OK", w.check_widget.output.toPlainText())
    self.assertEqual(w.input_file_view.isVisible(), False)
    w._view_file.triggered.emit()
    self.assertEqual(w.input_file_view.isVisible(), True)
    self.assertIn("Kernel", w.input_file_view.toPlainText())
    w.writeInputFile("delete_me.i")
    w._clearInputFile()
    self.checkMenus(w, True, recent=True, recent_count=1)