it('should not call loadscript when inputting with empty params by string ', function () {
   let adapter = new OrbitsoftAdapter();
   let spyLoadScript = sinon.spy(adloader, 'loadScript');
   adapter.callBids('');
   assert(!spyLoadScript.called);
   spyLoadScript.restore();
 });
  it('should call loadscript with the correct params', function () {
    let adapter = new OrbitsoftAdapter();
    let spyLoadScript = sinon.spy(adloader, 'loadScript');
    let params = {
      bids: [
        {
          sizes: [[300, 250], [300, 600]],
          params: {
            placementId: '16',
            requestUrl: jptCallEndPoint
          }
        }
      ]
    };
    adapter.callBids(params);

    sinon.assert.calledOnce(spyLoadScript);

    let bidUrl = spyLoadScript.getCall(0).args[0];
    expect(bidUrl).to.include(jptCallEndPoint);
    expect(bidUrl).to.include('scid=16');
    expect(bidUrl).to.include('size=300x250');
    expect(bidUrl).to.include('loc');
    spyLoadScript.restore();
  });
 it('should not call loadscript when inputting without requestUrl param ', function () {
   let adapter = new OrbitsoftAdapter();
   let spyLoadScript = sinon.spy(adloader, 'loadScript');
   let params = {
     bids: [
       {
         params: {
           placementId: '16'
         }
       }
     ]
   };
   adapter.callBids(params);
   assert(!spyLoadScript.called);
   spyLoadScript.restore();
 });