it('video data should be a query string and method = GET', () => {
   bidRequests.mediaType = 'video';
   bidRequests.params = videoParams;
   const request = spec.buildRequests([bidRequests]);
   expect(request[0].data).to.be.a('string');
   expect(request[0].method).to.equal('GET');
 });
    it('banner should get correct bid response', () => {
      let response = {
        'headers': function(header) {
          return 'dummy header';
        },
        'body': {'id': '30b31c1838de1e', 'bidderCode': 'sekindoUM', 'cpm': 2.1951, 'width': 300, 'height': 250, 'ad': '<h1>sekindo creative<\/h1>', 'ttl': 36000, 'creativeId': '323774', 'netRevenue': true, 'currency': 'USD'}
      };

      bidRequests.mediaType = 'banner';
      bidRequests.params = bannerParams;
      let expectedResponse = [
        {
          'requestId': '30b31c1838de1e',
          'bidderCode': 'sekindoUM',
          'cpm': 2.1951,
          'width': 300,
          'height': 250,
          'creativeId': '323774',
          'currency': 'USD',
          'netRevenue': true,
          'ttl': 36000,
          'ad': '<h1>sekindo creative</h1>'
        }
      ];
      let result = spec.interpretResponse(response, bidRequests);
      expect(Object.keys(result[0])).to.deep.equal(Object.keys(expectedResponse[0]));
    });
 it('with gdprConsent, banner data should be a query string and method = GET', function () {
   bidRequests.mediaType = 'banner';
   bidRequests.params = bannerParams;
   const request = spec.buildRequests([bidRequests], {'gdprConsent': {'consentString': 'BOJ/P2HOJ/P2HABABMAAAAAZ+A==', 'vendorData': {}, 'gdprApplies': true}});
   expect(request[0].data).to.be.a('string');
   expect(request[0].method).to.equal('GET');
 });
 it('banner data should be a query string and method = GET', function () {
   bidRequests.mediaType = 'banner';
   bidRequests.params = bannerParams;
   const request = spec.buildRequests([bidRequests]);
   expect(request[0].data).to.be.a('string');
   expect(request[0].method).to.equal('GET');
 });
 it('should return true when required Video params found', () => {
   bidRequests.mediaType = 'video';
   bidRequests.params = videoParams;
   expect(spec.isBidRequestValid(bidRequests)).to.equal(true);
 });
 it('should return false when required video params are missing', () => {
   bidRequests.mediaType = 'video';
   bidRequests.params = bannerParams;
   expect(spec.isBidRequestValid(bidRequests)).to.equal(false);
 });
 it('should return true when required params found', () => {
   bidRequests.mediaType = 'banner';
   bidRequests.params = bannerParams;
   expect(spec.isBidRequestValid(bidRequests)).to.equal(true);
 });