def METHOD_NAME(self, num, clean = True):
    for i in range(num):
        self.start_workrave(i + 1, clean)
    time.sleep(2)
    self.wr = []
    self.wrd = []
    self.core = []
    self.network = []
    self.config = []
    self.debug = []
    for i in range(num):
        self.wr.append(bus.get_object("org.workrave.Workrave" + str(i + 1), "/org/workrave/Workrave/Core"))
        self.wrd.append(bus.get_object("org.workrave.Workrave" + str(i + 1), "/org/workrave/Workrave/Debug"))
        self.core.append   (dbus.Interface(self.wr[i], "org.workrave.CoreInterface"))
        self.network.append(dbus.Interface(self.wr[i], "org.workrave.NetworkInterface"))
        self.config.append (dbus.Interface(self.wr[i], "org.workrave.ConfigInterface"))
        self.debug.append  (dbus.Interface(self.wrd[i], "org.workrave.DebugInterface"))
    if run_debugger:
        for i in range(1, num + 1):
            os.system("cat /tmp/workrave" + str(i) + "/pid")
        print "Attach debugger and press return."
        sys.stdin.readline();
        time.sleep(1)
    time.sleep(1)
    for i in range(num):
        # Start listening for incoming connections.
        self.network[i].Listen(2701 + i)
        self.config[i].SetBool("timers/micro_pause/enabled", True)
        self.config[i].SetInt("timers/micro_pause/auto_reset", 20)
        self.config[i].SetInt("timers/micro_pause/limit", 60)
        self.config[i].SetInt("timers/micro_pause/snooze", 180)
        self.config[i].SetBool("timers/rest_break/enabled", False)
        self.config[i].SetBool("timers/daily_limit/enabled", False)
    self.num_running = num;