throwsException top-level constant

const throwsException = const Throws(isException)

A matcher for functions that throw Exception.

Implementation

const Matcher throwsException = Throws(isException)