ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfContainWordForJavaMap[K, V](left : java.util.Map[K, V], shouldBeTrue : Boolean)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
key
(expectedKey : K) : Unit
This method enables the following syntax (
javaMap is a java.util.Map ):
javaMap should contain key ("two") ^ |
def
|
value
(expectedValue : V) : Unit
This method enables the following syntax (
javaMap is a java.util.Map ):
javaMap should contain value ("2") ^ |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
javaMap
is a java.util.Map
):
javaMap should contain key ("two") ^
javaMap
is a java.util.Map
):
javaMap should contain value ("2") ^
ScalaTest 1.1
|
|