throwsUnsupportedError = const Throws(isUnsupportedError)

A matcher for functions that throw UnsupportedError.