This method enables the following syntax, where positiveNumber
and validNumber
are AMatcher
:
This method enables the following syntax, where positiveNumber
and validNumber
are AMatcher
:
aMatcher and be a (validNumber) ^
This method enables the following syntax, where file
is a BePropertyMatcher
:
This method enables the following syntax, where file
is a BePropertyMatcher
:
aMatcher and be a (file) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and be a ('file) ^
This method enables the following syntax, where integerNumber
is an AnMatcher
:
This method enables the following syntax, where integerNumber
is an AnMatcher
:
aMatcher and be an (integerNumber) ^
This method enables the following syntax, where apple
is a BePropertyMatcher
:
This method enables the following syntax, where apple
is a BePropertyMatcher
:
aMatcher and be an (apple) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and be an ('apple) ^
This method enables the following syntax, where fraction
refers to a PartialFunction
:
This method enables the following syntax, where fraction
refers to a PartialFunction
:
aMatcher and be definedAt (8) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher and be theSameInstanceAs (string) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.