This method enables the following syntax:
This method enables the following syntax:
an [Exception] should be thrownBy { ... }
^
Overrides toString to return pretty an[...] should/must be
Overrides toString to return pretty an[...] should/must be
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.