jmock-developers/jmock-library — pull request #14 by rethab (2012-12-04 22:53:40+00:00)
Title: ExactCommandExecutor

The ExactCommandExectuor waits for a predefined number of commands to be executed. In that, it is similar to DeterministicExecutor, but the DeterministicExecutor may finish (return from runUntilIdle) before another command has even been supplied. The ExactCommandExecutor is both Thread-Safe and Deterministic.