it "returns the last failed response" do
      allow(api).to receive(:get_record).with(1, "00123456").and_return(invalid_body)
      allow(api).to receive(:get_record).with(1, "123456").and_return(invalid_body)
      allow(api).to receive(:get_record).with(1, "0123456").and_return(invalid_body)
      response = api.call(1, "123456")