This method enables the following syntax:
This method enables the following syntax:
result should (be a (positiveNumber) or be a (validNumber))
^
This method enables the following syntax:
This method enables the following syntax:
isFileMock should (be a (file) or be a (directory))
^
This method enables the following syntax:
This method enables the following syntax:
isFileMock should (be a ('file) or be a ('directory))
^
This method enables the following syntax:
This method enables the following syntax:
result should (be an (oddNumber) or be an (integerNumber))
^
This method enables the following syntax:
This method enables the following syntax:
appleMock should (be an (orange) or be an (apple))
^
This method enables the following syntax:
This method enables the following syntax:
appleMock should (be an ('orange) 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:
fraction should (be definedAt (6) or be definedAt (8))
^
This method enables the following syntax:
This method enables the following syntax:
obj should (be theSameInstanceAs (string) or be theSameInstanceAs (otherString))
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.