pub fn called_times(self, calls: i64) -> TrackedMethod<'a, I, O> {
        // Create an expectation that counts a certain number of calls.
        let mut exp: Expectation<I, O> = Expectation::new(&self.sig.name);
        exp.constrain(Times::new(calls));

        // Add the expectation to the store.
        let id = self.store.add(exp);

        TrackedMethod {
            id,
            method: self
        }
    }
/// You expect this method to be called `calls` number of times. 
You expect this method to be called `calls` number of times.
You expect this method to be called ` calls ` number of times .
pub fn called_times(self, calls: i64) -> TrackedMethod<'a, I, O> {
        // Create an expectation that counts a certain number of calls.
        let mut exp: Expectation<I, O> = Expectation::new(&self.sig.name);
        exp.constrain(Times::new(calls));
        // Add the expectation to the store.
        let id = self.store.add(exp);
        TrackedMethod {
            id,
            method: self
        }
    }
pub fn called_times ( self , calls : i64 ) -> TrackedMethod < ' a , I , O > { // Create an expectation that counts a certain number of calls. let mut exp : Expectation < I , O > = Expectation :: new ( & self . sig . name ) ; exp . constrain ( Times :: new ( calls ) ) ; // Add the expectation to the store. let id = self . store . add ( exp ) ; TrackedMethod { id , method : self } }
You expect this method to be called `calls` number of times.
You expect this method to be called ` calls ` number of times .
self
calls
i64
self
calls
i64