ResultOfContainWordForCollectedAny

final class ResultOfContainWordForCollectedAny[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 allElementsOf(elements: Iterable[Any])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain allElementsOf (1, 2)
                     ^
infix def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain allOf (1, 2)
                     ^
infix def atLeastOneElementOf(elements: Iterable[Any])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain atLeastOneElementOf List(1, 2)
                     ^
infix def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain atLeastOneOf (1, 2)
                     ^
infix def atMostOneElementOf(elements: Iterable[Any])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should contain atMostOneElementOf (1, 2)
                      ^
infix def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(xs) should contain atMostOneOf (1, 2)
                      ^
infix def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain inOrder (1, 2)
                     ^
infix def inOrderElementsOf(elements: Iterable[Any])(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain inOrderElementsOf (1, 2)
                     ^
infix def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain inOrderOnly (1, 2)
                     ^
infix def key(expectedKey: Any)(implicit keyMapping: KeyMapping[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(colOfMap) should contain key ("one")
                            ^
infix def noElementsOf(elements: Iterable[Any])(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain noElementsOf (1, 2)
                     ^
infix def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain noneOf (1, 2)
                     ^
infix def oneElementOf(elements: Iterable[Any])(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain oneElementOf List(1, 2)
                     ^
infix def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain oneOf (1, 2)
                     ^
infix def only(right: Any*)(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain only (1, 2)
                     ^
infix def theSameElementsAs(right: Iterable[_])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain theSameElementsAs (1, 2)
                     ^
infix def theSameElementsInOrderAs(right: Iterable[_])(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option should contain theSameElementsInOrderAs (1, 2)
                     ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

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

Definition Classes
Any
infix def value(expectedValue: Any)(implicit valueMapping: ValueMapping[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(colOfMap) should contain value (1)
                            ^