org.scalatest.matchers.Matchers

class AWord

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

final class AWord
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]) : ResultOfAWordToBePropertyMatcherApplication[T]
This method enables the following syntax, where, for example, badBook is of type Book and goodRead is a BePropertyMatcher[Book]:
     badBook should not be a (goodRead)
                             ^
     
def apply (symbol : scala.Symbol) : ResultOfAWordToSymbolApplication
This method enables the following syntax:
     badBook should not be a ('goodRead)
                             ^
     
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) : ResultOfAWordToSymbolApplication
This method enables the following syntax:
     badBook should not be a ('goodRead)
                             ^
     

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


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