BeMatcher

org.scalatest.matchers.BeMatcher
See theBeMatcher companion trait
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).

Attributes

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

Members list

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).

Attributes