ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
sealed
class
ResultOfNotWordForJavaCollection[E, T <: java.util.Collection[E]](left : T, shouldBeTrue : Boolean)
extends
ResultOfNotWordForAnyRef[T]ShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
contain
(expectedElement : E) : Unit
This method enables the following syntax:
javaCollection should not contain ("elephant") ^ |
def
|
have
(resultOfSizeWordApplication : ResultOfSizeWordApplication) : Unit
This method enables the following syntax:
javaCollection should not have size (3) ^ |
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
have(resultOfSizeWordApplication : ResultOfSizeWordApplication) : Unit
javaCollection should not have size (3) ^
javaCollection should not contain ("elephant") ^
ScalaTest 1.0
|
|