This method enables syntax such as the following:
This method enables syntax such as the following:
map should not have size (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
map should contain key (10)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
map should have size (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
map should be theSameInstanceAs (anotherMap)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
map should equal (Map(1 -> "one", 2 -> "two")) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchersorMustMatchersfor an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable
shouldmethods to be invoked on objects of typescala.collection.Map[K, V].