AndContainWord

final class AndContainWord(prettifier: Prettifier, pos: Position)

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

class Object
trait Matchable
class Any

Value members

Concrete methods

infix def allElementsOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain allElementsOf List(1, 2, 3)
                           ^
infix def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain allOf (1, 2, 3)
                           ^
def apply(expectedElement: Any): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain (3 - 1)
                           ^
infix def atLeastOneElementOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain atLeastOneElementOf (1, 2, 3)
                           ^
infix def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain atLeastOneOf (1, 2, 3)
                           ^
infix def atMostOneElementOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain atMostOneOf (1, 2, 3)
                           ^
infix def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain atMostOneOf (1, 2, 3)
                           ^
infix def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain inOrder (1, 2, 3)
                           ^
infix def inOrderElementsOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain inOrderElementsOf List(1, 2, 3)
                           ^
infix def inOrderOnly(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain inOrderOnly (1, 2, 3)
                           ^
infix def key(expectedKey: Any): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, KeyMapping]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain key ("one")
                           ^
infix def noElementsOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain noElementsOf (1, 2, 3)
                           ^
infix def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain noneOf (1, 2, 3)
                           ^
infix def oneElementOf(elements: Iterable[Any]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain oneElementOf (1, 2, 3)
                           ^
infix def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Containing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain oneOf (1, 2, 3)
                           ^
infix def only(right: Any*): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain only (1, 2, 3)
                           ^
infix def theSameElementsAs(right: Iterable[_]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Aggregating]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain theSameElementsAs List(1, 2, 3)
                           ^
infix def theSameElementsInOrderAs(right: Iterable[_]): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Sequencing]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain theSameElementsInOrderAs List(1, 2, 3)
                           ^
infix def value(expectedValue: Any): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, ValueMapping]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory and contain value (1)
                           ^