This method enables the following syntax (positiveNumberKey is a AMatcher):
This method enables the following syntax (positiveNumberKey is a AMatcher):
javaMap should contain a positiveNumberKey
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should 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 should contain an oddNumberKey
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain inOrder (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should 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 should contain key ("two")
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain noneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain oneOf (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain only (1, 2)
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain theSameElementsAs traversable
^
This method enables the following syntax:
This method enables the following syntax:
javaMap should contain theSameElementsInOrderAs 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 should contain value ("2")
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.