org.scalatest.matchers.Matchers.MatcherWrapper
This method enables the following syntax:
This method enables the following syntax:
Array(1, 2) should (contain (2) and contain (3 - 1))
This method enables the following syntax:
This method enables the following syntax:
Map("one" -> 1, "two" -> 2) should (contain key ("two") and contain key ("one")) ^
This method enables the following syntax:
This method enables the following syntax:
Map("one" -> 1, "two" -> 2) should (contain value (2) and contain value (1)) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchers
orMustMatchers
for an overview of the matchers DSL.