'Tests if all worker threads terminate if the thread pool is stopped.'

def testStopping(self):

    self.assertEqual(self.Count('pool-testStopping'), self.NUMBER_OF_THREADS)
    self.test_pool.Stop()
    self.assertEqual(self.Count('pool-testStopping'), 0)
    self.test_pool.Start()
    self.assertEqual(self.Count('pool-testStopping'), self.NUMBER_OF_THREADS)
    self.test_pool.Stop()
    self.assertEqual(self.Count('pool-testStopping'), 0)
