BeMatcher

object BeMatcher

Companion object for trait BeMatcher that provides a factory method that creates a BeMatcher[T] from a passed function of type (T => MatchResult).

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](fun: T => MatchResult)(implicit ev: ClassTag[T]): BeMatcher[T]

Factory method that creates a BeMatcher[T] from a passed function of type (T => MatchResult).

Factory method that creates a BeMatcher[T] from a passed function of type (T => MatchResult).