ResultOfTheTypeInvocation

org.scalatest.matchers.dsl.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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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 { ... }
                                   ^

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val clazz: Class[T]