org.scalatest.matchers.MustMatchers
This class is part of the ScalaTest matchers DSL. Please see the documentation for MustMatchers or ShouldMatchers for an overview of the matchers DSL.
MustMatchers
ShouldMatchers
This class is used in conjunction with an implicit conversion to enable a must method to be invoked on objects that result of evaulating { ... }.
must
evaulating { ... }
This method enables syntax such as the following:
evaluating { "hi".charAt(-1) } must produce [StringIndexOutOfBoundsException] ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
MustMatchers
orShouldMatchers
for an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable a
must
method to be invoked on objects that result ofevaulating { ... }
.