emitsInOrder<S> static method

Matcher emitsInOrder<S>(
  1. List<S> expectedStates
)

Matches when a Velo notifier emits the expected states in order.

Implementation

static Matcher emitsInOrder<S>(List<S> expectedStates) {
  ArgumentError.checkNotNull(expectedStates, 'expectedStates');
  return _EmitsInOrderMatcher<S>(expectedStates);
}