text: /**
   * Created by marija on 22.02.18.
   */
  
  
  
  var p1 = Promise.resolve(18);
  var p2 = Promise.reject(17);
  
  
  
  
  
  
  
  
  var callbackArguments = [];
  var argument1 = function (err) {
   callbackArguments.push(arguments) 
  
      errors.logAndThrowError(err, 'Error exporting data', '');
  };
  var argument2 = function (err) {
   callbackArguments.push(arguments) 
  
      expect(err).to.exist;
      done();
  };
  var argument3 = null;
  var argument4 = p1;
  var argument5 = "`:";
  var argument6 = function (response) {
   callbackArguments.push(arguments) 
  
      return response.data;
  };
  var argument7 = function (err) {
   callbackArguments.push(arguments) 
  
      destination.currencyChoices = ['STR'];
      return destination;
  };
  var argument8 = p2;
  var argument9 = {"460":"IB","1.5412529184609694e+308":-1,"2.5253284791563693e+307":618,"?5":"","":9.924989449515364e+307,"o":655};
  var base_0 = p2
  var r_0= undefined
  try {
  r_0 = base_0.catch(argument1)
  }
  catch(e) {
  r_0= e.message
  }
  var base_1 = p2
  var r_1= undefined
  try {
  r_1 = base_1.catch(argument2,argument3,argument4)
  }
  catch(e) {
  r_1= e.message
  }
  var base_2 = r_1
  var r_2= undefined
  try {
  r_2 = base_2.then(argument5,argument6)
  }
  catch(e) {
  r_2= e.message
  }
  var base_3 = r_1
  var r_3= undefined
  try {
  r_3 = base_3.catch(argument7,argument8,argument9)
  }
  catch(e) {
  r_3= e.message
  }
  function serialize(array){
  return array.map(function(a){
  if (a === null || a == undefined) return a;
  var name = a.constructor.name;
  if (name==='Object' || name=='Boolean'|| name=='Array'||name=='Number'||name=='String')
  return JSON.stringify(a);
  return name;
   });
  }
  setTimeout(function(){
  require("fs").writeFileSync("./experiments/promises/promiseMined/test737.json",JSON.stringify({"baseObjects":serialize([base_0,base_1,base_2,base_3]),"returnObjects":serialize([r_0,r_1,r_2,r_3]),"callbackArgs":callbackArguments}))
  },300)