pub fn expect<I, O>(&mut self, name: &str) -> Method<I, O> where
        I: 'static,
        O: 'static
    {
        Method::new(&mut self.store, name)
    }
/// Returns a `Method` struct which you can use to add expectations for the 
/// method with the given name.
Returns a `Method` struct which you can use to add expectations for the
method with the given name.
Returns a ` Method ` struct which you can use to add expectations for the method with the given name .
pub fn expect<I, O>(&mut self, name: &str) -> Method<I, O> where
        I: 'static,
        O: 'static
    {
        Method::new(&mut self.store, name)
    }
pub fn expect < I , O > ( & mut self , name : & str ) -> Method < I , O > where I : ' static , O : ' static { Method :: new ( & mut self . store , name ) }
Returns a `Method` struct which you can use to add expectations for the
method with the given name.
Returns a ` Method ` struct which you can use to add expectations for the method with the given name .
&mut self
name
&str
&mut self
name
&str