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