org.scalatest.matchers.Matchers

class ResultOfHaveWordForCollection

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

sealed class ResultOfHaveWordForCollection[T](left : scala.Collection[T], shouldBeTrue : Boolean)
extends AnyRef
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
Direct Known Subclasses:
Matchers.ResultOfHaveWordForSeq

Method Summary
def size (expectedSize : Int) : Unit
This method enables the following syntax:
     collection should have size (10)
                            ^
     
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 size(expectedSize : Int) : Unit
This method enables the following syntax:
     collection should have size (10)
                            ^
     


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