This method enables the following syntax (positiveNumber is a AMatcher):
This method enables the following syntax (positiveNumber is a AMatcher):
traversable must contain a positiveNumber
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain allOf (1, 2)
^
This method enables the following syntax (oddNumber is a AMatcher):
This method enables the following syntax (oddNumber is a AMatcher):
traversable must contain an oddNumber
^
This method enables the following syntax:
This method enables the following syntax:
List(1, 2, 3) must contain (atLeastOneOf(1, 2))
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain inOrder (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain inOrderOnly (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
List(1, 2, 3) must contain (oneOf(1, 2))
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain noneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain oneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain only (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain theSameElementsAs array
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain theSameElementsAs anotherTraversable
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain theSameElementsInOrderAs array
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain theSameElementsInOrderAs anotherTraversable
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.