/// <summary> /// Intercept all requests going to a certain URL and respond /// with a sequence of responses /// </summary> /// <param name="urlPattern">Wildcard pattern with asterisks</param> /// <param name="sequence"></param> /// <returns></returns> public static Factory Fake(string urlPattern, ResponseSequence sequence) => GetFactory().Fake(urlPattern, sequence);
/// <summary> /// Intercept all requests and respond with a sequence of responses /// </summary> /// <param name="sequence"></param> /// <returns></returns> public static Factory Fake(ResponseSequence sequence) => GetFactory().Fake(sequence);