expectStateEquals method

void expectStateEquals(
  1. TState expected
)

Asserts that the current state equals the expected state.

Implementation

void expectStateEquals(TState expected) {
  expect(bloc.state, equals(expected));
}