This method enables the following syntax (positiveNumberKey is a AMatcher):
This method enables the following syntax (positiveNumberKey is a AMatcher):
javaMap must contain a positiveNumberKey
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain allOf (1, 2)
^
This method enables the following syntax (oddNumberKey is a AnMatcher):
This method enables the following syntax (oddNumberKey is a AnMatcher):
javaMap must contain an oddNumberKey
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain inOrder (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain inOrderOnly (1, 2)
^
This method enables the following syntax (javaMap is a java.util.Map):
This method enables the following syntax (javaMap is a java.util.Map):
javaMap must contain key ("two")
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain noneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain oneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain only (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain theSameElementsAs traversable
^
This method enables the following syntax:
This method enables the following syntax:
javaMap must contain theSameIteratedElementsAs traversable
^
This method enables the following syntax (javaMap is a java.util.Map):
This method enables the following syntax (javaMap is a java.util.Map):
javaMap must contain value ("2")
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.