def METHOD_NAME(self, qtbot, monkeypatch, config_stub):
    w = tabwidget.TabWidget(0)
    qtbot.add_widget(w)
    monkeypatch.setattr(tabwidget.objects, 'backend',
                        usertypes.Backend.QtWebKit)
    w.show()
    return w