org.scalatest.matchers.Matchers

class ResultOfNotWordForJavaList

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

final class ResultOfNotWordForJavaList[E, T <: java.util.List[E]](left : T, shouldBeTrue : Boolean)
extends ResultOfNotWordForJavaCollection[E, T]
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 have (resultOfLengthWordApplication : ResultOfLengthWordApplication) : Unit
This method enables the following syntax:
     javaList should not have length (12)
                         ^
     
Methods inherited from ResultOfNotWordForJavaCollection
have, 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 have(resultOfLengthWordApplication : ResultOfLengthWordApplication) : Unit
This method enables the following syntax:
     javaList should not have length (12)
                         ^
     

This method invokes size on the java.util.List passed as left to determine its length.



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