A mock requests that was received and is ready to be answered.
class TestRequest { readonly cancelled: boolean; override request: HttpRequest<any>; flush(body: string | number | boolean | Object | ArrayBuffer | Blob | (string | number | boolean | Object | null)[] | null, opts?: { headers?: any; status?: number | undefined; statusText?: string | undefined; }): void; error(error: ErrorEvent, opts?: TestRequestErrorOptions | undefined): void; error(error: ProgressEvent<EventTarget>, opts?: TestRequestErrorOptions | undefined): void; event(event: HttpEvent<any>): void;}