This method enables the following syntax:
This method enables the following syntax:
a [IllegalArgumentException] must (be thrownBy { ... }) ^
This method enables the following syntax:
This method enables the following syntax:
a [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:
a [RuntimeException] must be thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
a [RuntimeException] mustBe thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
a [IllegalArgumentException] will (be thrownBy { ... }) ^
This method enables the following syntax:
This method enables the following syntax:
a [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:
a [RuntimeException] will be thrownBy { ... } ^
This method enables the following syntax:
This method enables the following syntax:
a [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.