ResultOfContainWordForCollectedAny

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

This method enables the following syntax:

This method enables the following syntax:

option must contain allElementsOf (1, 2)
                     ^

Attributes

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 must contain allOf (1, 2)
                     ^

Attributes

infix def atLeastOneElementOf(elements: Iterable[Any])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain atLeastOneElementOf List(1, 2)
                     ^

Attributes

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 must contain atLeastOneOf (1, 2)
                     ^

Attributes

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) must contain atMostOneElementOf (1, 2)
                      ^

Attributes

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) must contain atMostOneOf (1, 2)
                      ^

Attributes

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 must contain inOrder (1, 2)
                     ^

Attributes

infix def inOrderElementsOf(elements: Iterable[Any])(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain inOrderElementsOf (1, 2)
                     ^

Attributes

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 must contain inOrderOnly (1, 2)
                     ^

Attributes

infix def key(expectedKey: Any)(implicit keyMapping: KeyMapping[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(colOfMap) must contain key ("one")
                            ^

Attributes

infix def noElementsOf(elements: Iterable[Any])(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain noElementsOf (1, 2)
                     ^

Attributes

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 must contain noneOf (1, 2)
                     ^

Attributes

infix def oneElementOf(elements: Iterable[Any])(implicit containing: Containing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain oneElementOf List(1, 2)
                     ^

Attributes

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 must contain oneOf (1, 2)
                     ^

Attributes

infix def only(right: Any*)(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain only (1, 2)
                     ^

Attributes

infix def theSameElementsAs(right: Iterable[_])(implicit aggregating: Aggregating[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain theSameElementsAs (1, 2)
                     ^

Attributes

infix def theSameElementsInOrderAs(right: Iterable[_])(implicit sequencing: Sequencing[T]): Assertion

This method enables the following syntax:

This method enables the following syntax:

option must contain theSameElementsInOrderAs (1, 2)
                     ^

Attributes

override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Attributes

Returns

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

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) must contain value (1)
                            ^

Attributes