simulateANY method

void simulateANY(
  1. RegExp urlPattern,
  2. SimulateResponse response
)

Defines simulated response for urlPattern for any Method.

Implementation

void simulateANY(RegExp urlPattern, SimulateResponse response) {
  _anyPatterns[urlPattern] = response;
}