Packages

c

org.scalatest.words

ResultOfBeThrownBy

final class ResultOfBeThrownBy extends AnyRef

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

Source
ResultOfBeThrownBy.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultOfBeThrownBy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfBeThrownBy(codeList: IndexedSeq[() ⇒ Unit])

Type Members

  1. final class ResultOfAndBeWord extends AnyRef

Value Members

  1. 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) })
                            ^