Test provider for offline testing. Returns scripted responses without network calls.
Supports two modes:
- Queue (FIFO): Pre-defined responses consumed in order
- Handler: Custom function receives messages and opts
State is per-process (keyed by PID) for async test isolation.