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 or be a (validNumber) ^
This method enables the following syntax, where directory
is a BePropertyMatcher
:
This method enables the following syntax, where directory
is a BePropertyMatcher
:
aMatcher or be a (directory) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher or be a ('directory) ^
This method enables the following syntax, where oddNumber
and integerNumber
are AnMatcher
:
This method enables the following syntax, where oddNumber
and integerNumber
are AnMatcher
:
aMatcher or be an (integerNumber) ^
This method enables the following syntax, where orange
and apple
are BePropertyMatcher
:
This method enables the following syntax, where orange
and apple
are BePropertyMatcher
:
aMatcher or be an (apple) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher or 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 or be definedAt (8) ^
This method enables the following syntax:
This method enables the following syntax:
aMatcher or be theSameInstanceAs (otherString) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.