ResultOfBeThrownBy

final class ResultOfBeThrownBy(codeList: IndexedSeq[() => Unit])

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

class Object
trait Matchable
class Any

Type members

Classlikes

final class ResultOfAndBeWord

Value members

Concrete methods

infix def and(beWord: BeWord): ResultOfAndBeWord

This method enables the following syntax:

This method enables the following syntax:

a[Exception] should (be thrownBy { "hi".charAt(-1) } and thrownBy { "ha".charAt(3) })
                       ^