pub fn with_transport<H, Fun, Fut>(handler: H, tests: Fun)
where H: Handler, Fun: FnOnce(BoxedTransport) -> Fut, Fut: Future<Output = Result<(), Box<dyn Error>>>,
Expand description

open an in-memory connection to this handler and call an async function with an open BoxedTransport