org.scalatest.matchers
Companion object for trait Matcher that provides a factory method that creates a Matcher[T] from a passed function of type (T => MatchResult).
Matcher
Matcher[T]
(T => MatchResult)
Factory method that creates a Matcher[T] from a passed function of type (T => MatchResult).
Companion object for trait
Matcherthat provides a factory method that creates aMatcher[T]from a passed function of type(T => MatchResult).