org.scalatest.matchers.Matchers.MatcherWrapper

class AndBeWord

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

final class AndBeWord
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 a [T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
       myFile should (be a (file) and be a (file))
                                              ^
       
def a (symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
       isFileMock should (be a ('file) and be a ('file))
                                              ^
       
def an (symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
       isAppleMock should (be an ('apple) and be an ('apple))
                                                 ^
       
def an [T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
       isAppleMock should (be an (apple) and be an (apple))
                                                 ^
       
def theSameInstanceAs (anyRef : AnyRef) : Matcher[T with AnyRef]
This method enables the following syntax:
       obj should (be theSameInstanceAs (string) and be theSameInstanceAs (string))
                                                        ^
       
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 a(symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
       isFileMock should (be a ('file) and be a ('file))
                                              ^
       

def a[T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
       myFile should (be a (file) and be a (file))
                                              ^
       

def an(symbol : scala.Symbol) : Matcher[T with AnyRef]
This method enables the following syntax:
       isAppleMock should (be an ('apple) and be an ('apple))
                                                 ^
       

def an[T](bePropertyMatcher : BePropertyMatcher[T]) : Matcher[T with AnyRef with T]
This method enables the following syntax:
       isAppleMock should (be an (apple) and be an (apple))
                                                 ^
       

def theSameInstanceAs(anyRef : AnyRef) : Matcher[T with AnyRef]
This method enables the following syntax:
       obj should (be theSameInstanceAs (string) and be theSameInstanceAs (string))
                                                        ^
       


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