greenbar/replicant — pull request #1 by dcorbin (2013-01-17 16:49:26+00:00)
Title: Implicitly convertion minder to mock.

Take a look. The conversion works fine in the real world cases. There was one not-real-world case in the sample where a test was calling the mock directly. You can still do that the way you had it (queue.mock.nextRequest), but I prefer the explicit declaration of the mock.