code: function automock (setAutomockFunction) {
      // set default if value passed
      if (setAutomockFunction !== undefined) {
          // require function
          if (typeof setAutomockFunction !== 'function') {
              throw new Error('automock error: automock must be function')
          }
          // set global value
          immutableDatabaseMariasql.automockFunction = setAutomockFunction
          // return class
          return ImmutableDatabaseMariaSQL
      }
      // return current value
      return immutableDatabaseMariasql.automockFunction
  }
docs: @function automock
  
  get/set the automockFunction
  
  @param {function|undefined} setAutomockFunction
  
  @returns {ImmutableDatabaseMariaSQL|boolean}
  
  @throws {Error}