final class AWord extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Source
- MustMatchers.scala
- Alphabetic
- By Inheritance
- AWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AWord()
Value Members
-
def
apply[T](aMatcher: AMatcher[T]): ResultOfAWordToAMatcherApplication[T]
This method enables the following syntax, where,
positiveNumber
is anAMatcher[Book]
:This method enables the following syntax, where,
positiveNumber
is anAMatcher[Book]
:result must not be a (positiveNumber) ^
-
def
apply[T](beTrueMatcher: BePropertyMatcher[T]): ResultOfAWordToBePropertyMatcherApplication[T]
This method enables the following syntax, where, for example,
badBook
is of typeBook
andgoodRead
is aBePropertyMatcher[Book]
:This method enables the following syntax, where, for example,
badBook
is of typeBook
andgoodRead
is aBePropertyMatcher[Book]
:badBook must not be a (goodRead) ^
-
def
apply(symbol: Symbol): ResultOfAWordToSymbolApplication
This method enables the following syntax:
This method enables the following syntax:
badBook must not be a ('goodRead) ^
-
def
toString(): String
Overrides to return pretty toString.