ScalaTest 1.1
|
|
final
class
AndBeWord
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.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]
isFileMock should (be a ('file) and be a ('file)) ^
myFile should (be a (file) and be a (file)) ^
def
an(symbol : scala.Symbol) : Matcher[T with
AnyRef]
isAppleMock should (be an ('apple) and be an ('apple)) ^
isAppleMock should (be an (apple) and be an (apple)) ^
obj should (be theSameInstanceAs (string) and be theSameInstanceAs (string)) ^
ScalaTest 1.1
|
|