AnWord
org.scalatest.matchers.must.Matchers.AnWord
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of the matchers DSL.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
This method enables the following syntax:
This method enables the following syntax:
badBook must not be an ('excellentRead) ^
Attributes
This method enables the following syntax, where, for example, badBook
is of type Book
and excellentRead
is a BePropertyMatcher[Book]
:
This method enables the following syntax, where, for example, badBook
is of type Book
and excellentRead
is a BePropertyMatcher[Book]
:
badBook must not be an (excellentRead) ^
Attributes
This method enables the following syntax, where, positiveNumber
is an AnMatcher[Book]
:
This method enables the following syntax, where, positiveNumber
is an AnMatcher[Book]
:
result must not be an (positiveNumber) ^
Attributes
Overrides to return pretty toString.
Overrides to return pretty toString.
Attributes
- Returns
-
"an"
- Definition Classes
-
Any
In this article