org.scalatest.matchers.ShouldMatchers
This method enables syntax such as the following:
This method enables syntax such as the following:
javaMap should be theSameInstanceAs anotherObject ^
This method enables syntax such as the following:
This method enables syntax such as the following:
javaMap should not have length (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
javaMap should have size (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
javaMap should contain value (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
javaMap should equal (someJavaMap) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchers
orMustMatchers
for an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable
should
methods to be invoked on objects of typejava.util.Map[K, V]
.