Make a test that ensures that when an external party reads a queue that the workflow populates, it is sane
The workflow puts stuff on a queue
An external party reads from the queue
The workflow suspends
The workflow resumes
The external party does not see the already-consumed items on the queue, but does see any outstanding items
Workflow | External
7 -> Q
8 -> Q
Q -> 7
9 -> Q
-- Suspend and resume --
Q -> 8 (not a 7!)
Q -> 9
Make a test that ensures that when an external party reads a queue that the workflow populates, it is sane