pub fn with_captured_envelopes<F: FnOnce()>(f: F) -> Vec<Envelope>
Runs some code with the default test hub and returns the captured envelopes.
See with_captured_envelopes_options
with_captured_envelopes_options