org.scalatest.matchers.Matchers

class AnWord

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

final class AnWord
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
Method Summary
def apply [T](beTrueMatcher : BePropertyMatcher[T]) : ResultOfAnWordToBePropertyMatcherApplication[T]
This method enables the following syntax, where, for example, badBook is of type Book and excellentRead is a BePropertyMatcher[Book]:
     badBook should not be an (excellentRead)
                              ^
     
def apply (symbol : scala.Symbol) : ResultOfAnWordToSymbolApplication
This method enables the following syntax:
     badBook should not be an ('excellentRead)
                              ^
     
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 apply(symbol : scala.Symbol) : ResultOfAnWordToSymbolApplication
This method enables the following syntax:
     badBook should not be an ('excellentRead)
                              ^
     

def apply[T](beTrueMatcher : BePropertyMatcher[T]) : ResultOfAnWordToBePropertyMatcherApplication[T]
This method enables the following syntax, where, for example, badBook is of type Book and excellentRead is a BePropertyMatcher[Book]:
     badBook should not be an (excellentRead)
                              ^
     


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