docs: function mock () {
      // flag set if any library is successfully mocked
      var mocked = false
  
      // attempt to load mockable libraries
      _.each(automock.module, (module, name) => {
          // catch errors on libraries that are not available
          try {
              // load library to be mocked
              var library = require(module.libraryName)
              // apply automock function on library
              library.automock(module.automock)
              // set success flag
              mocked = true
          }
          catch (ex) {
              console.log(ex)
          }
      })
  
      // throw error if no libraries found
      if (!mocked) {
          throw new Error('immutable-automock: no mockable libraries found')
      }
  
      // return class instance for chaining
      return automock
  }