pub fn is_saturated(&self) -> bool {
        match self.expected_matches {
            Some(limit) => self.num_matches.get() >= limit,
            None => false,
        }
    }
/// Returns `true` iff the behaviour is exhausted.
Returns `true` iff the behaviour is exhausted.
Returns ` true ` iff the behaviour is exhausted .
pub fn is_saturated(&self) -> bool {
        match self.expected_matches {
            Some(limit) => self.num_matches.get() >= limit,
            None => false,
        }
    }
pub fn is_saturated ( & self ) -> bool { match self . expected_matches { Some ( limit ) => self . num_matches . get ( ) >= limit , None => false , } }
Returns `true` iff the behaviour is exhausted.
Returns ` true ` iff the behaviour is exhausted .
&self