text: let nock = require('nock');
  
  module.exports.hash = "021cd1ad14cefedb3f9721742269a869";
  
  module.exports.testInfo = {"uniqueName":{},"newDate":{}}
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default")
    .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
    'Cache-Control',
    'no-store, no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    'e2f3fb88-f9cc-4c01-99ed-2a55d4252400',
    'x-ms-ests-server',
    '2.1.11251.20 - EUS ProdSlices',
    'Set-Cookie',
    'fpc=AiXkt45clY9IozZbiyvKp_s; expires=Sun, 20-Dec-2020 21:51:10 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Fri, 20 Nov 2020 21:51:10 GMT',
    'Content-Length',
    '1331'
  ]);
  
  nock('https://endpoint:443', {"encodedQueryParams":true})
    .post('/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze', {"source":"https://storageaccount/testingdata/businessCard.jpg?sastoken"})
    .query(true)
    .reply(202, "", [
    'Content-Length',
    '0',
    'Operation-Location',
    'https://endpoint/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/20daeab9-0c33-42fd-b681-1562febfd751',
    'x-envoy-upstream-service-time',
    '1580',
    'apim-request-id',
    '20daeab9-0c33-42fd-b681-1562febfd751',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains; preload',
    'x-content-type-options',
    'nosniff',
    'Date',
    'Fri, 20 Nov 2020 21:51:12 GMT'
  ]);
  
  nock('https://endpoint:443', {"encodedQueryParams":true})
    .get('/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/20daeab9-0c33-42fd-b681-1562febfd751')
    .reply(200, {"status":"notStarted","createdDateTime":"2020-11-20T21:51:12Z","lastUpdatedDateTime":"2020-11-20T21:51:12Z"}, [
    'Content-Length',
    '109',
    'Content-Type',
    'application/json; charset=utf-8',
    'x-envoy-upstream-service-time',
    '15',
    'apim-request-id',
    '714300d2-c612-453e-83ba-d4a8369d8ef7',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains; preload',
    'x-content-type-options',
    'nosniff',
    'Date',
    'Fri, 20 Nov 2020 21:51:12 GMT'
  ]);
  
  nock('https://endpoint:443', {"encodedQueryParams":true})
    .get('/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/20daeab9-0c33-42fd-b681-1562febfd751')
    .reply(200, {"status":"running","createdDateTime":"2020-11-20T21:51:12Z","lastUpdatedDateTime":"2020-11-20T21:51:12Z"}, [
    'Content-Length',
    '106',
    'Content-Type',
    'application/json; charset=utf-8',
    'x-envoy-upstream-service-time',
    '34',
    'apim-request-id',
    '649dc938-1567-4ad6-8b20-9ec4aac67f5d',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains; preload',
    'x-content-type-options',
    'nosniff',
    'Date',
    'Fri, 20 Nov 2020 21:51:12 GMT'
  ]);
  
  nock('https://endpoint:443', {"encodedQueryParams":true})
    .get('/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/20daeab9-0c33-42fd-b681-1562febfd751')
    .reply(200, {"status":"succeeded","createdDateTime":"2020-11-20T21:51:12Z","lastUpdatedDateTime":"2020-11-20T21:51:15Z","analyzeResult":{"version":"2.1.0","readResults":[{"page":1,"angle":-16.6836,"width":4032,"height":3024,"unit":"pixel"}],"documentResults":[{"docType":"prebuilt:receipt","pageRange":[1,1],"fields":{"ReceiptType":{"type":"string","valueString":"Other","confidence":0.318},"MerchantName":{"type":"string","valueString":"Dr. Avery Smith","text":"Dr. Avery Smith","boundingBox":[413.8,1151.8,1610,871,1639.5,996.8,443.4,1277.6],"page":1,"confidence":0.834},"MerchantPhoneNumber":{"type":"phoneNumber","text":"+44 (0) 20 9876 5432","boundingBox":[2469.1,1118.1,3136.2,912.4,3158.8,985.8,2491.8,1191.5],"page":1,"confidence":0.99},"MerchantAddress":{"type":"string","valueString":"2 Kingdom Street Paddington, London, W2 6BD","text":"2 Kingdom Street Paddington, London, W2 6BD","boundingBox":[1224.6,2139.5,2536.4,1685.2,2613.1,1906.7,1301.3,2361],"page":1,"confidence":0.43},"TransactionTime":{"type":"time","text":"+44","boundingBox":[2437,1039,2554,1002,2571,1074,2453,1108],"page":1,"confidence":0.014}}}]}}, [
    'Content-Length',
    '1114',
    'Content-Type',
    'application/json; charset=utf-8',
    'x-envoy-upstream-service-time',
    '19',
    'apim-request-id',
    'a6eac536-9255-4237-abd0-3d787b4ba187',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains; preload',
    'x-content-type-options',
    'nosniff',
    'Date',
    'Fri, 20 Nov 2020 21:51:17 GMT'
  ]);
  