ResultOfBeWordForCollectedArray

final class ResultOfBeWordForCollectedArray[T](collected: Collected, xs: Iterable[Array[T]], original: Any, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position) extends ResultOfBeWordForCollectedAny[Array[T]]

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

def apply(right: Symbol): Matcher[Array[T]]

This method enables the following syntax:

This method enables the following syntax:

all(colOfArray) should be ('empty)
                         ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

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

Definition Classes

Inherited methods

infix def a[U <: Array[T]](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: Array[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)
                    ^
Inherited from:
ResultOfBeWordForCollectedAny
infix def a(symbol: Symbol)(implicit toAnyRef: Array[T] <:< AnyRef): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should be a ('file)
                 ^
Inherited from:
ResultOfBeWordForCollectedAny
infix def an[U <: Array[T]](beTrueMatcher: BePropertyMatcher[U])(implicit ev: Array[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)
                    ^
Inherited from:
ResultOfBeWordForCollectedAny
infix def an(symbol: Symbol)(implicit toAnyRef: Array[T] <:< AnyRef): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should be an ('orange)
                 ^
Inherited from:
ResultOfBeWordForCollectedAny
infix def definedAt[U](right: U)(implicit ev: Array[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)
                 ^
Inherited from:
ResultOfBeWordForCollectedAny
infix def theSameInstanceAs(right: AnyRef)(implicit toAnyRef: Array[T] <:< AnyRef): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should be theSameInstanceAs anotherObject
                 ^
Inherited from:
ResultOfBeWordForCollectedAny