ResultOfTheTypeInvocation

final class ResultOfTheTypeInvocation[T](clazzTag: ClassTag[T], pos: Position)

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

Value members

Constructors

def this(c: Class[_], pos: Position)

Concrete methods

infix def thrownBy(fun: => Any): T

This method enables the following syntax:

This method enables the following syntax:

val e = the [FileNotFoundException] thrownBy { ... }
                                   ^
override def toString: String
Definition Classes
Any

Concrete fields

val clazz: Class[T]