throwsStateError top-level constant

const throwsStateError = const Throws(isStateError)

A matcher for functions that throw StateError.

Implementation

const Matcher throwsStateError = Throws(isStateError)