org.scalatest.matchers.Matchers

class ResultOfNotWordForJavaMap

[source: org/scalatest/matchers/Matchers.scala]

final class ResultOfNotWordForJavaMap[K, V](left : java.util.Map[K, V], shouldBeTrue : Boolean)
extends ResultOfNotWordForAnyRef[java.util.Map[K, V]]
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
Author
Bill Venners
Method Summary
def contain (resultOfValueWordApplication : ResultOfValueWordApplication[V]) : Unit
This method enables the following syntax:
     javaMap should not contain value (3)
                                ^
     
def contain (resultOfKeyWordApplication : ResultOfKeyWordApplication[K]) : Unit
This method enables the following syntax:
     javaMap should not contain key ("three")
                        ^
     
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
This method enables the following syntax:
     javaMap should not contain key ("three")
                        ^
     

def contain(resultOfValueWordApplication : ResultOfValueWordApplication[V]) : Unit
This method enables the following syntax:
     javaMap should not contain value (3)
                                ^
     


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.