pub fn for_service<S>(service: S) -> Self
    where
        S: Into<Box<Service>>,
    {
        TestKitBuilder::validator().with_service(service).create()
    }
/// Creates a new `TestKit` with a single validator with the given service.
Creates a new `TestKit` with a single validator with the given service.
Creates a new ` TestKit ` with a single validator with the given service .
pub fn for_service<S>(service: S) -> Self
    where
        S: Into<Box<Service>>,
    {
        TestKitBuilder::validator().with_service(service).create()
    }
pub fn for_service < S > ( service : S ) -> Self where S : Into < Box < Service > > , { TestKitBuilder :: validator ( ) . with_service ( service ) . create ( ) }
Creates a new `TestKit` with a single validator with the given service.
Creates a new ` TestKit ` with a single validator with the given service .
service
S
service
S