ResultOfBeWordForAny
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 (positiveNumber is a AMatcher
):
This method enables the following syntax (positiveNumber is a AMatcher
):
1 must be a positiveNumber ^
Attributes
This method enables the following syntax, where badBook
is, for example, of type Book
and goodRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where badBook
is, for example, of type Book
and goodRead
refers to a BePropertyMatcher[Book]
:
badBook must be a (goodRead) ^
Attributes
This method enables the following syntax (positiveNumber is a AnMatcher
):
This method enables the following syntax (positiveNumber is a AnMatcher
):
1 must be an oddNumber ^
Attributes
This method enables the following syntax, where badBook
is, for example, of type Book
and excellentRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where badBook
is, for example, of type Book
and excellentRead
refers to a BePropertyMatcher[Book]
:
book must be an (excellentRead) ^
Attributes
This method enables the following syntax, where fraction
is, for example, of type PartialFunction
:
This method enables the following syntax, where fraction
is, for example, of type PartialFunction
:
fraction must be definedAt (6) ^
Attributes
This method enables the following syntax:
This method enables the following syntax:
result must be theSameInstanceAs anotherObject ^
Attributes
Overrides to return pretty toString.
Overrides to return pretty toString.
Attributes
- Returns
-
"ResultOfBeWordForAny([left], [mustBeTrue])"
- Definition Classes
-
Any