Our inspection tracker assigns a late completion to whichever attempt is current, and random sleeps make reproducing it a nuisance; how can I deliver old and duplicate events at exact test steps without involving the physical cell?
Use a controlled event queue and an explicit delivery operation through the real application handler: create attempt A, hold its completion, create B, then deliver A's event and assert B remains unchanged. Repeat the event to test duplicate handling, preserving original identities and checking durable bookkeeping as well as the display.