'L{ThreadWorker.quit} causes future calls to L{ThreadWorker.do} and
L{ThreadWorker.quit} to raise L{AlreadyQuit}.'

def test_quitPreventsFutureCalls(self):

    self.worker.quit()
    self.assertRaises(AlreadyQuit, self.worker.quit)
    self.assertRaises(AlreadyQuit, self.worker.do, list)
