This method enables the following syntax:
This method enables the following syntax:
otherString should not be theSameInstanceAs (string)
                       ^
This method enables the following syntax, where keyEvent is, for example, of type KeyEvent and
actionKey refers to a BePropertyMatcher[KeyEvent]:
This method enables the following syntax, where keyEvent is, for example, of type KeyEvent and
actionKey refers to a BePropertyMatcher[KeyEvent]:
keyEvent should not be an (actionKey)
                    ^
This method enables the following syntax:
This method enables the following syntax:
keyEvent should not be an ('actionKey)
                    ^
This method enables the following syntax, where notFileMock is, for example, of type File and
file refers to a BePropertyMatcher[File]:
This method enables the following syntax, where notFileMock is, for example, of type File and
file refers to a BePropertyMatcher[File]:
notFileMock should not be a (file)
                       ^
This method enables the following syntax:
This method enables the following syntax:
notFileMock should not be a ('file)
                       ^
This method enables the following syntax, where stack is, for example, of type Stack and
empty refers to a BePropertyMatcher[Stack]:
This method enables the following syntax, where stack is, for example, of type Stack and
empty refers to a BePropertyMatcher[Stack]:
stack should not be (empty)
                     ^
This method enables the following syntax:
This method enables the following syntax:
stack should not be ('empty)
                 ^
This method enables the following syntax:
This method enables the following syntax:
map should not be (null)
               ^
This method enables the following syntax, where odd refers to
a BeMatcher[Int]:
This method enables the following syntax, where odd refers to
a BeMatcher[Int]:
2 should not be (odd)
             ^
This method enables the following syntax:
This method enables the following syntax:
result should not be === (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not be > (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not be < (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not be >= (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not be <= (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not be (7)
                  ^
This method enables the following syntax:
This method enables the following syntax:
result should not equal (7)
                  ^
This method enables the following syntax, where badBook is, for example, of type Book and
title ("One Hundred Years of Solitude") results in a HavePropertyMatcher[Book]:
This method enables the following syntax, where badBook is, for example, of type Book and
title ("One Hundred Years of Solitude") results in a HavePropertyMatcher[Book]:
book should not have (title ("One Hundred Years of Solitude"))
                ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchersorMustMatchersfor an overview of the matchers DSL.