setup method

void setup()

Setup the test environment

Implementation

void setup() {
  // Clear existing state
  _clearAll();

  // Set initial state
  for (final entry in _initialState.entries) {
    Air()
        .state(entry.key, initialValue: entry.value)
        .setValue(entry.value, sourceModuleId: 'test');
  }
}