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] should (be thrownBy { ... })
^
This method enables the following syntax:
This method enables the following syntax:
a [RuntimeException] should 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] should be thrownBy { ... }
^
This method enables the following syntax:
This method enables the following syntax:
a [RuntimeException] shouldBe thrownBy { ... }
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.