Module mockall::predicate::str

source ·
Expand description

str Predicate factories

This module contains predicates specific to string handling.

Functions§

  • Creates a new Predicate that ensures a str contains pattern
  • Creates a new Predicate that ensures a str ends with pattern
  • Creates a new Predicate that ensures a str is empty
  • Creates a new Predicate that ensures a str starts with pattern