[][src]Function tower_test::mock::spawn_with

pub fn spawn_with<T, U, F, S>(f: F) -> (Spawn<S>, Handle<T, U>) where
    F: Fn(Mock<T, U>) -> S, 

Spawn a Service via the provided wrapper closure.