def METHOD_NAME(self):
    w = self.widgetClass
    previewer = WidgetPreview(self.widget_constructor)
    previewer.run(42, no_exit=True)
    w.int1(43)
    previewer.send_signals([(44, 1), (45, 2)])
    previewer.run(46, no_exit=True)
    w.int1.assert_has_calls(
        [call(42), call(43), call(44, 1), call(45, 2), call(46)])