def METHOD_NAME(self):
    """
    Check worker methods get called. We sleep occasionally to ensure these
    asynchronous calls have enough time to be called
    """
    # Create a worker manager
    compDummy = Dummy()
    print('create manager')
    manager = WorkerThreadManager(compDummy)
    # Pause it
    print('pause workers')
    manager.pauseWorkers()
    # Add a worker, and check init method gets called
    print('add worker')
    manager.addWorker(DummyWorker1(), 1)
    time.sleep(3)
    self.assertEqual(WorkerThreadsTest._setupCalled, True)
    # Ensure the algo wasn't called whilst paused
    self.assertEqual(WorkerThreadsTest._algoCalled, False)
    print('resume workers')
    # Run the workers, pause, and check algo method gets called
    manager.resumeWorkers()
    time.sleep(3)
    manager.pauseWorkers()
    self.assertEqual(WorkerThreadsTest._algoCalled, True)
    print('terminate workers')
    # Terminate the workers, and check terminate method gets called
    manager.terminateWorkers()
    time.sleep(3)
    self.assertEqual(WorkerThreadsTest._terminateCalled, True)