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