def METHOD_NAME(self):
    import __main__
    class UnitWorkbench(__main__.Workbench):
        MenuText = "Unittest"
        ToolTip = "Unittest"
        def Initialize(self):
            cmds = ["Test_Test"]
            self.appendToolbar("My Unittest", cmds)
        def GetClassName(self):
            return "Gui::PythonWorkbench"
    FreeCADGui.addWorkbench(UnitWorkbench())
    wbs = FreeCADGui.listWorkbenches()
    self.failUnless("UnitWorkbench" in wbs, "Test on adding workbench handler failed")
    FreeCADGui.activateWorkbench("UnitWorkbench")
    FreeCADGui.updateGui()
    self.failUnless(
        FreeCADGui.activeWorkbench().name() == "UnitWorkbench",
        "Test on loading workbench 'Unittest' failed",
    )
    FreeCADGui.removeWorkbench("UnitWorkbench")
    wbs = FreeCADGui.listWorkbenches()
    self.failUnless(not "UnitWorkbench" in wbs, "Test on removing workbench handler failed")