{
  "mockBidRequest": {
    "id": "err-invalid-resp",
    "imp": [
      {
        "id": "imp-1",
        "banner": {
          "format": [{ "w": 300, "h": 250 }]
        },
        "ext": {
          "bidder": {
            "widgetId": "1"
          }
        }
      }
    ],
    "site": {
      "page": "http://example.com",
      "ref": "http://example.com"
    },
    "device": {
      "ua": "ua",
      "h": 100,
      "w": 200
    }
  },
  "httpCalls": [
    {
      "expectedRequest": {
        "uri": "http://example.com/hb",
        "impIDs": ["imp-1"],
        "body": {
          "id": "err-invalid-resp",
          "imp": [
            {
              "id": "imp-1",
              "banner": {
                "format": [{ "w": 300, "h": 250 }]
              },
              "ext": {
                "bidder": {
                  "widgetId": "1"
                }
              }
            }
          ],
          "site": {
            "page": "http://example.com",
            "ref": "http://example.com"
          },
          "device": {
            "ua": "ua",
            "h": 100,
            "w": 200
          },
          "ext": {
            "nativery": {
              "isAmp": false,
              "widgetId": "1"
            }
          }
        }
      },
      "mockResponse": {
        "status": 200,
        "body": "NOT A JSON!"
      }
    }
  ],
  "expectedRequestCount": 1,
  "expectedMakeRequestsErrors": [],
  "expectedMakeBidsErrors": [
    {
      "value": "expect { or n, but found",
      "comparison": "startswith"
    }
  ],
  "expectedBidResponses": []
}
