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 should be a (goodRead)
^
This method enables the following syntax:
This method enables the following syntax:
fileMock should be a ('file)
^
This method enables the following syntax (positiveNumber is a AMatcher):
This method enables the following syntax (positiveNumber is a AMatcher):
1 should be a positiveNumber
^
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 should be an (excellentRead)
^
This method enables the following syntax:
This method enables the following syntax:
fruit should be an ('orange)
^
This method enables the following syntax (positiveNumber is a AnMatcher):
This method enables the following syntax (positiveNumber is a AnMatcher):
1 should be an oddNumber
^
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 should be definedAt (6)
^
This method enables the following syntax:
This method enables the following syntax:
result should be theSameInstanceAs anotherObject
^
Overrides to return pretty toString.
Overrides to return pretty toString.
"ResultOfBeWordForAny([left], [shouldBeTrue])"
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.