Testing Event-Driven APIs: The Pragmatic Pattern I Actually Ship

The producer test passed. The consumer test passed. The integration broke in production because the producer was emitting a field the…