def METHOD_NAME(self):
    doNextEvent = threading.Event()
    threadStartedEvent = threading.Event()
    thread1 = GetsThroughVoteThread(self._storage,
                                    doNextEvent, threadStartedEvent)
    thread2 = GetsThroughBeginThread(self._storage,
                                     doNextEvent, threadStartedEvent)
    thread1.start()
    threadStartedEvent.wait(1)
    thread2.start()
    self._storage.close()
    doNextEvent.set()
    thread1.join()
    thread2.join()
    self.assertEqual(thread1.gotValueError, 1)
    self.assertEqual(thread2.gotValueError, 1)