pub fn with_service<S>(mut self, service: S) -> Self
    where
        S: Into<Box<Service>>,
    {
        self.services.push(service.into());
        self
    }
/// Adds a service to the testkit.
Adds a service to the testkit.
Adds a service to the testkit .
pub fn with_service<S>(mut self, service: S) -> Self
    where
        S: Into<Box<Service>>,
    {
        self.services.push(service.into());
        self
    }
pub fn with_service < S > ( mut self , service : S ) -> Self where S : Into < Box < Service > > , { self . services . push ( service . into ( ) ) ; self }
Adds a service to the testkit.
Adds a service to the testkit .
mut self
service
S
mut self
service
S