throwsStateError top-level constant

Matcher const throwsStateError

A matcher for functions that throw StateError.

See throwsA for objects that this can be matched against.

Implementation

const Matcher throwsStateError = Throws(isStateError);