ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfHaveWordForJavaList[T](left : java.util.List[T], shouldBeTrue : Boolean)
extends
ResultOfHaveWordForJavaCollection[T]ShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
length
(expectedLength : Int) : Unit
This method enables the following syntax:
javaList should have length (12) ^ |
Methods inherited from ResultOfHaveWordForJavaCollection | |
size |
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 |
javaList should have length (12) ^
This method invokes size
on the java.util.List
passed as left
to
determine its length.
ScalaTest 1.1
|
|