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:
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:
map must contain key ("one")
^
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 theSameIteratedElementsAs array
^
This method enables the following syntax:
This method enables the following syntax:
traversable must contain theSameIteratedElementsAs anotherTraversable
^
This method enables the following syntax:
This method enables the following syntax:
map must contain value (1)
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.