This method enables the following syntax, where, for example, badBook is of type Book and excellentRead
is a BePropertyMatcher[Book]:
This method enables the following syntax, where, for example, badBook is of type Book and excellentRead
is a BePropertyMatcher[Book]:
badBook should not be an (excellentRead)
                         ^
This method enables the following syntax:
This method enables the following syntax:
badBook should not be an ('excellentRead)
                         ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchersorMustMatchersfor an overview of the matchers DSL.