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.