throwsException top-level constant Null safety
A matcher for functions that throw Exception.
See throwsA for objects that this can be matched against.
Implementation
const Matcher throwsException = Throws(isException);
A matcher for functions that throw Exception.
See throwsA for objects that this can be matched against.
const Matcher throwsException = Throws(isException);