text: 'use strict';
  
  /* jshint ignore:start */
  /**
   * This code was generated by
   * \ / _    _  _|   _  _
   *  | (_)\/(_)(_|\/| |(/_  v1.0.0
   *       /       /
   */
  /* jshint ignore:end */
  
  var Holodeck = require('../../../../../holodeck');  /* jshint ignore:line */
  var Request = require(
      '../../../../../../../lib/http/request');  /* jshint ignore:line */
  var Response = require(
      '../../../../../../../lib/http/response');  /* jshint ignore:line */
  var RestException = require(
      '../../../../../../../lib/base/RestException');  /* jshint ignore:line */
  var Twilio = require('../../../../../../../lib');  /* jshint ignore:line */
  
  
  var client;
  var holodeck;
  
  describe('Recording', function() {
    beforeEach(function() {
      holodeck = new Holodeck();
      client = new Twilio('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'AUTHTOKEN', {
        httpClient: holodeck
      });
    });
    it('should generate valid update request',
      function(done) {
        holodeck.mock(new Response(500, {}));
  
        var opts = {status: 'in-progress'};
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update(opts);
        promise.then(function() {
          throw new Error('failed');
        }, function(error) {
          expect(error.constructor).toBe(RestException.prototype.constructor);
          done();
        }).done();
  
        var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var conferenceSid = 'CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var sid = 'REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var url = `https://api.twilio.com/2010-04-01/Accounts/${accountSid}/Conferences/${conferenceSid}/Recordings/${sid}.json`;
  
        var values = {Status: 'in-progress', };
        holodeck.assertHasRequest(new Request({
            method: 'POST',
            url: url,
            data: values
        }));
      }
    );
    it('should generate valid update response',
      function(done) {
        var body = {
            'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'api_version': '2010-04-01',
            'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'channels': 1,
            'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
            'date_updated': 'Fri, 14 Oct 2016 21:56:39 +0000',
            'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
            'price': null,
            'price_unit': null,
            'duration': null,
            'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'source': 'StartConferenceRecordingAPI',
            'status': 'paused',
            'error_code': null,
            'encryption_details': null,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json'
        };
  
        holodeck.mock(new Response(200, body));
  
        var opts = {status: 'in-progress'};
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update(opts);
        promise.then(function(response) {
          expect(response).toBeDefined();
          done();
        }, function() {
          throw new Error('failed');
        }).done();
      }
    );
    it('should generate valid fetch request',
      function(done) {
        holodeck.mock(new Response(500, {}));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch();
        promise.then(function() {
          throw new Error('failed');
        }, function(error) {
          expect(error.constructor).toBe(RestException.prototype.constructor);
          done();
        }).done();
  
        var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var conferenceSid = 'CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var sid = 'REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var url = `https://api.twilio.com/2010-04-01/Accounts/${accountSid}/Conferences/${conferenceSid}/Recordings/${sid}.json`;
  
        holodeck.assertHasRequest(new Request({
          method: 'GET',
          url: url
        }));
      }
    );
    it('should generate valid fetch response',
      function(done) {
        var body = {
            'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'api_version': '2010-04-01',
            'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'channels': 1,
            'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
            'date_updated': 'Fri, 14 Oct 2016 21:56:38 +0000',
            'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
            'price': '-0.0025',
            'price_unit': 'USD',
            'duration': '4',
            'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            'source': 'StartConferenceRecordingAPI',
            'status': 'completed',
            'error_code': null,
            'encryption_details': {
                'encryption_public_key_sid': 'CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                'encryption_cek': 'OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==',
                'encryption_iv': '8I2hhNIYNTrwxfHk'
            },
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json'
        };
  
        holodeck.mock(new Response(200, body));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch();
        promise.then(function(response) {
          expect(response).toBeDefined();
          done();
        }, function() {
          throw new Error('failed');
        }).done();
      }
    );
    it('should generate valid remove request',
      function(done) {
        holodeck.mock(new Response(500, {}));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').remove();
        promise.then(function() {
          throw new Error('failed');
        }, function(error) {
          expect(error.constructor).toBe(RestException.prototype.constructor);
          done();
        }).done();
  
        var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var conferenceSid = 'CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var sid = 'REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var url = `https://api.twilio.com/2010-04-01/Accounts/${accountSid}/Conferences/${conferenceSid}/Recordings/${sid}.json`;
  
        holodeck.assertHasRequest(new Request({
          method: 'DELETE',
          url: url
        }));
      }
    );
    it('should generate valid delete response',
      function(done) {
        var body = null;
  
        holodeck.mock(new Response(204, body));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings('REXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').remove();
        promise.then(function(response) {
          expect(response).toBe(true);
          done();
        }, function() {
          throw new Error('failed');
        }).done();
      }
    );
    it('should treat the first each arg as a callback',
      function(done) {
        var body = {
            'end': 0,
            'first_page_uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0',
            'next_page_uri': null,
            'page': 0,
            'page_size': 50,
            'previous_page_uri': null,
            'recordings': [
                {
                    'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'api_version': '2010-04-01',
                    'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'channels': 1,
                    'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'date_updated': 'Fri, 14 Oct 2016 21:56:38 +0000',
                    'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'price': '-0.0025',
                    'price_unit': 'USD',
                    'duration': '4',
                    'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'source': 'StartConferenceRecordingAPI',
                    'status': 'completed',
                    'error_code': null,
                    'encryption_details': {
                        'encryption_public_key_sid': 'CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                        'encryption_cek': 'OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==',
                        'encryption_iv': '8I2hhNIYNTrwxfHk'
                    },
                    'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json'
                }
            ],
            'start': 0,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0'
        };
        holodeck.mock(new Response(200, body));
        client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .recordings.each(() => done());
      }
    );
    it('should treat the second arg as a callback',
      function(done) {
        var body = {
            'end': 0,
            'first_page_uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0',
            'next_page_uri': null,
            'page': 0,
            'page_size': 50,
            'previous_page_uri': null,
            'recordings': [
                {
                    'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'api_version': '2010-04-01',
                    'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'channels': 1,
                    'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'date_updated': 'Fri, 14 Oct 2016 21:56:38 +0000',
                    'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'price': '-0.0025',
                    'price_unit': 'USD',
                    'duration': '4',
                    'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'source': 'StartConferenceRecordingAPI',
                    'status': 'completed',
                    'error_code': null,
                    'encryption_details': {
                        'encryption_public_key_sid': 'CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                        'encryption_cek': 'OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==',
                        'encryption_iv': '8I2hhNIYNTrwxfHk'
                    },
                    'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json'
                }
            ],
            'start': 0,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0'
        };
        holodeck.mock(new Response(200, body));
        client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .recordings.each({pageSize: 20}, () => done());
        holodeck.assertHasRequest(new Request({
            method: 'GET',
            url: 'https://api.twilio.com/2010-04-01/Accounts/${accountSid}/Conferences/${conferenceSid}/Recordings.json',
            params: {PageSize: 20},
        }));
      }
    );
    it('should find the callback in the opts object',
      function(done) {
        var body = {
            'end': 0,
            'first_page_uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0',
            'next_page_uri': null,
            'page': 0,
            'page_size': 50,
            'previous_page_uri': null,
            'recordings': [
                {
                    'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'api_version': '2010-04-01',
                    'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'channels': 1,
                    'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'date_updated': 'Fri, 14 Oct 2016 21:56:38 +0000',
                    'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'price': '-0.0025',
                    'price_unit': 'USD',
                    'duration': '4',
                    'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'source': 'StartConferenceRecordingAPI',
                    'status': 'completed',
                    'error_code': null,
                    'encryption_details': {
                        'encryption_public_key_sid': 'CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                        'encryption_cek': 'OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==',
                        'encryption_iv': '8I2hhNIYNTrwxfHk'
                    },
                    'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json'
                }
            ],
            'start': 0,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0'
        };
        holodeck.mock(new Response(200, body));
        client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                        .recordings.each({callback: () => done()}, () => fail('wrong callback!'));
      }
    );
    it('should generate valid list request',
      function(done) {
        holodeck.mock(new Response(500, {}));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings.list();
        promise.then(function() {
          throw new Error('failed');
        }, function(error) {
          expect(error.constructor).toBe(RestException.prototype.constructor);
          done();
        }).done();
  
        var accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var conferenceSid = 'CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
        var url = `https://api.twilio.com/2010-04-01/Accounts/${accountSid}/Conferences/${conferenceSid}/Recordings.json`;
  
        holodeck.assertHasRequest(new Request({
          method: 'GET',
          url: url
        }));
      }
    );
    it('should generate valid read_full response',
      function(done) {
        var body = {
            'end': 0,
            'first_page_uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0',
            'next_page_uri': null,
            'page': 0,
            'page_size': 50,
            'previous_page_uri': null,
            'recordings': [
                {
                    'account_sid': 'ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'api_version': '2010-04-01',
                    'call_sid': 'CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'conference_sid': 'CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'channels': 1,
                    'date_created': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'date_updated': 'Fri, 14 Oct 2016 21:56:38 +0000',
                    'start_time': 'Fri, 14 Oct 2016 21:56:34 +0000',
                    'price': '-0.0025',
                    'price_unit': 'USD',
                    'duration': '4',
                    'sid': 'REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                    'source': 'StartConferenceRecordingAPI',
                    'status': 'completed',
                    'error_code': null,
                    'encryption_details': {
                        'encryption_public_key_sid': 'CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
                        'encryption_cek': 'OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==',
                        'encryption_iv': '8I2hhNIYNTrwxfHk'
                    },
                    'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json'
                }
            ],
            'start': 0,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0'
        };
  
        holodeck.mock(new Response(200, body));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings.list();
        promise.then(function(response) {
          expect(response).toBeDefined();
          done();
        }, function() {
          throw new Error('failed');
        }).done();
      }
    );
    it('should generate valid read_empty response',
      function(done) {
        var body = {
            'end': 0,
            'first_page_uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0',
            'next_page_uri': null,
            'page': 0,
            'page_size': 50,
            'previous_page_uri': null,
            'recordings': [],
            'start': 0,
            'uri': '/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0'
        };
  
        holodeck.mock(new Response(200, body));
  
        var promise = client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                                      .recordings.list();
        promise.then(function(response) {
          expect(response).toBeDefined();
          done();
        }, function() {
          throw new Error('failed');
        }).done();
      }
    );
  });
  