This method enables the following syntax (positiveNumber is a AMatcher):
This method enables the following syntax (positiveNumber is a AMatcher):
traversable should contain a positiveNumber
^
This method enables the following syntax:
This method enables the following syntax:
traversable should 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 should contain an oddNumber
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain inOrder (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain inOrderOnly (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain noneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain oneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain only (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain theSameElementsAs array
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain theSameElementsAs anotherTraversable
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain theSameIteratedElementsAs array
^
This method enables the following syntax:
This method enables the following syntax:
traversable should contain theSameIteratedElementsAs anotherTraversable
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.