docs: function _getFindFunction(CurrentEntity) {
    return function (query, params) {
      expect(arguments).to.have.length.within(
        1,
        2,
        'Invalid arguments length when finding an Entity ' +
        '(it has to be passed 1 or 2 arguments)'
      );
  
      expect(query).to.be.an(
        'object',
        'Invalid argument when finding an Entity (it has to be an object)'
      );
  
      return Promise.try(function () {
        var adapter = CurrentEntity.adapter;
        return adapter.findObjects(CurrentEntity, query, params);
      });
    };
  }