This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain allOf (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain (3 - 1) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atLeastOneOf (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain atMostOneOf (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain inOrder (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain inOrderOnly (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain key ("one")
^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain noneOf (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain oneOf (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain only (1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain theSameElementsAs List(1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain theSameElementsInOrderAs List(1, 2, 3) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and contain value (1)
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.