This method enables the following syntax:
This method enables the following syntax:
result should (be a (positiveNumber) and be a (validNumber))
^
This method enables the following syntax:
This method enables the following syntax:
myFile should (be a (file) and be a (file))
^
This method enables the following syntax:
This method enables the following syntax:
isFileMock should (be a ('file) and be a ('file))
^
This method enables the following syntax:
This method enables the following syntax:
result should (be an (oddNumber) and be an (integerNumber))
^
This method enables the following syntax:
This method enables the following syntax:
isAppleMock should (be an (apple) and be an (apple))
^
This method enables the following syntax:
This method enables the following syntax:
isAppleMock should (be an ('apple) and be an ('apple))
^
This method enables the following syntax:
This method enables the following syntax:
obj should (be theSameInstanceAs (string) and be theSameInstanceAs (string))
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.