ResultOfBeWordForCollectedAny

org.scalatest.matchers.must.Matchers.ResultOfBeWordForCollectedAny
sealed class ResultOfBeWordForCollectedAny[T](collected: Collected, xs: Iterable[T], original: Any, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of the matchers DSL.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

infix def a[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: T <:< AnyRef): Assertion

This method enables the following syntax, where badBook is, for example, of type Book and goodRead refers to a BePropertyMatcher[Book]:

This method enables the following syntax, where badBook is, for example, of type Book and goodRead refers to a BePropertyMatcher[Book]:

all(books) must be a (goodRead)
                    ^

Attributes

infix def an[U <: T](beTrueMatcher: BePropertyMatcher[U])(implicit ev: T <:< AnyRef): Assertion

This method enables the following syntax, where badBook is, for example, of type Book and excellentRead refers to a BePropertyMatcher[Book]:

This method enables the following syntax, where badBook is, for example, of type Book and excellentRead refers to a BePropertyMatcher[Book]:

all(books) must be an (excellentRead)
                    ^

Attributes

infix def definedAt[U](right: U)(implicit ev: T <:< PartialFunction[U, _]): Assertion

This method enables the following syntax, where fraction is, for example, of type PartialFunction:

This method enables the following syntax, where fraction is, for example, of type PartialFunction:

all(xs) must be definedAt (6)
                 ^

Attributes

infix def theSameInstanceAs(right: AnyRef)(implicit toAnyRef: T <:< AnyRef): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) must be theSameInstanceAs anotherObject
                 ^

Attributes

override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Attributes

Returns

"ResultOfBeWordForCollectedAny([collected], [xs], [mustBeTrue])"

Definition Classes
Any