code: function (actualArgs, expectedArgs) {
      var i;
      if (actualArgs.length !== expectedArgs.length) {
        return false;
      }
      for (i = 0; i < expectedArgs.length; i++) {
        if (actualArgs[i] !== expectedArgs[i]) {
          return false;
        }
      }
      return true;
    }
docs: checks the actual args match the expected args