redding/dat-worker-pool — pull request #9 by jcredding (2013-10-10 13:42:43+00:00)
Title: Add `WorkerPoolSpy` for testing code that uses `DatWorkerPool`

This adds a simple worker pool spy for use as a test-double. This
is useful when testing code that uses `DatWorkerPool`. The spy
can be stubbed in as a replacement for a `DatWorkerPool` instance.
It will act similar to `DatWorkerPool` and will "track" what was
done to the worker pool.