def __init__(self, coordinator, createWorker, logException):
        self._quit = Quit()
        self._coordinator = coordinator
        self._createWorker = createWorker
        self._logException = logException

        # Don't touch these except from the coordinator.
        self._idle = set()
        self._busyCount = 0
        self._pending = deque()
        self._shouldQuitCoordinator = False
        self._toShrink = 0
Mock sending to a maildir queue.
dataset/ETHPy150Open twisted/twisted/twisted/_threads/_team.py/Team.__init__--crossover with--dataset/ETHPy150Open Pylons/pyramid_mailer/pyramid_mailer/mailer.py/DummyMailer.send_to_queue