Matcher

org.scalatest.matchers.Matcher
See theMatcher companion trait
object Matcher

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

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Matcher.type

Members list

Value members

Concrete methods

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

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

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

Attributes