ResultOfBeWordForCollectedAny

sealed class ResultOfBeWordForCollectedAny[T](collected: Collected, xs: Iterable[T], original: Any, shouldBeTrue: 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.

class Object
trait Matchable
class Any

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) should be a (goodRead)
                    ^
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) should be an (excellentRead)
                    ^
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) should be definedAt (6)
                 ^
infix def theSameInstanceAs(right: AnyRef)(implicit toAnyRef: T <:< AnyRef): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should be theSameInstanceAs anotherObject
                 ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

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

Definition Classes
Any