hasState<S> static method
Matches when a Velo notifier's current state equals the expected state.
Implementation
static Matcher hasState<S>(S expectedState) {
ArgumentError.checkNotNull(expectedState, 'expectedState');
return _HasStateMatcher<S>(expectedState);
}