function getVisitedStates() {
    const states = [];
    for (const call of stateChangeSpy.calls.allArgs()) {
      states.push(call[0].state);
    }
    return states;
  }
Get a list of all the states that the walker went through after
|beforeEach| finished.

@return {!Array<string>}