def METHOD_NAME(self):
    super(TestScalarFieldView, self).METHOD_NAME()
    self.widget = ScalarFieldView()
    self.widget.show()
    paramTreeWidget = TreeView()
    paramTreeWidget.setSfView(self.widget)
    dock = qt.QDockWidget()
    dock.setWidget(paramTreeWidget)
    self.widget.addDockWidget(qt.Qt.BottomDockWidgetArea, dock)
    # Commented as it slows down the tests
    # self.qWaitForWindowExposed(self.widget)