This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] must (be thrownBy { ... }) ^
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] must not ^
This method is here to direct people trying to use the above syntax to use noException
instead.
This method enables the following syntax:
This method enables the following syntax:
an [Exception] must be thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] mustBe thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] will (be thrownBy { ... }) ^
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] will not ^
This method is here to direct people trying to use the above syntax to use noException
instead.
This method enables the following syntax:
This method enables the following syntax:
an [Exception] will be thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
an [RuntimeException] willBe thrownBy { ... } ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.