| Index: pkg/unittest/core_matchers.dart | 
| diff --git a/pkg/unittest/core_matchers.dart b/pkg/unittest/core_matchers.dart | 
| index 9d9d17237d1d91e40d574b2b9015f67fb592951f..831efcd067650af9ae9a2f2ee6ee9f92623849d2 100644 | 
| --- a/pkg/unittest/core_matchers.dart | 
| +++ b/pkg/unittest/core_matchers.dart | 
| @@ -495,18 +495,18 @@ class _NullPointerException extends ExceptionMatcher { | 
| bool matches(item, MatchState matchState) => item is NullPointerException; | 
| } | 
|  | 
| -/** A matcher for UnsupportedOperationExceptions. */ | 
| -const isUnsupportedOperationException = const _UnsupportedOperationException(); | 
| +/** A matcher for StateErrors. */ | 
| +const isStateError = const _StateError(); | 
|  | 
| -/** A matcher for functions that throw UnsupportedOperationException */ | 
| -const Matcher throwsUnsupportedOperationException = | 
| -    const Throws(isUnsupportedOperationException); | 
| +/** A matcher for functions that throw StateError */ | 
| +const Matcher throwsStateError = | 
| +    const Throws(isStateError); | 
|  | 
| -class _UnsupportedOperationException extends ExceptionMatcher { | 
| -  const _UnsupportedOperationException() : | 
| -      super("UnsupportedOperationException"); | 
| +class _StateError extends ExceptionMatcher { | 
| +  const _StateError() : | 
| +      super("StateError"); | 
| bool matches(item, MatchState matchState) => | 
| -      item is UnsupportedOperationException; | 
| +      item is StateError; | 
| } | 
|  | 
| /** | 
|  |