ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfNotWordForMap[K, V](left : scala.collection.Map[K, V], shouldBeTrue : Boolean)
extends
ResultOfNotWordForCollection[(K, V), scala.collection.Map[K, V]]ShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
contain
(resultOfKeyWordApplication : ResultOfKeyWordApplication[K]) : Unit
This method enables the following syntax:
map should not contain key ("three") ^ |
def
|
contain
(resultOfValueWordApplication : ResultOfValueWordApplication[V]) : Unit
This method enables the following syntax:
Map("one" -> 1, "two" -> 2) should not contain value (3) ^ |
Methods inherited from ResultOfNotWordForCollection | |
have |
Methods inherited from ResultOfNotWordForIterable | |
contain |
Methods inherited from ResultOfNotWordForAnyRef | |
be, be, be, be, be, be, be, be, have |
Methods inherited from ResultOfNotWord | |
equal, be, be, be, be, be, be, be |
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 |
def
contain(resultOfKeyWordApplication : ResultOfKeyWordApplication[K]) : Unit
map should not contain key ("three") ^
def
contain(resultOfValueWordApplication : ResultOfValueWordApplication[V]) : Unit
Map("one" -> 1, "two" -> 2) should not contain value (3) ^
ScalaTest 1.0
|
|